| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.69.77-845e7 for GNU cppi 1.18. |
| 4 | # |
| 5 | # Report bugs to <[email protected]>. |
| 6 | # |
| 7 | # |
| 8 | # Copyright (C) 1992-1996, 1998-2013 Free Software Foundation, Inc. |
| 9 | # |
| 10 | # |
| 11 | # This configure script is free software; the Free Software Foundation |
| 12 | # gives unlimited permission to copy, distribute and modify it. |
| 13 | ## -------------------- ## |
| 14 | ## M4sh Initialization. ## |
| 15 | ## -------------------- ## |
| 16 | |
| 17 | # Be more Bourne compatible |
| 18 | DUALCASE=1; export DUALCASE # for MKS sh |
| 19 | if testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 20 | emulate sh |
| 21 | NULLCMD=: |
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 23 | # is contrary to our usage. Disable this feature. |
| 24 | alias -g '${1+"$@"}'='"$@"' |
| 25 | setopt NO_GLOB_SUBST |
| 26 | else |
| 27 | case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 28 | *posix*) : |
| 29 | set -o posix ;; #( |
| 30 | *) : |
| 31 | ;; |
| 32 | esac |
| 33 | fi |
| 34 | |
| 35 | |
| 36 | # The user is always right. |
| 37 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 38 | PATH_SEPARATOR=: |
| 39 | (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && { |
| 40 | (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 41 | PATH_SEPARATOR=';' |
| 42 | } |
| 43 | fi |
| 44 | |
| 45 | |
| 46 | # IFS |
| 47 | # We need space, tab and new line, in precisely that order. Quoting is |
| 48 | # there to prevent editors from complaining about space-tab. |
| 49 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 50 | # splitting by setting IFS to empty value.) |
| 51 | as_nl=' |
| 52 | ' |
| 53 | export as_nl |
| 54 | IFS=" "" $as_nl" |
| 55 | |
| 56 | # Find who we are. Look in the path if we contain no directory separator. |
| 57 | as_myself= |
| 58 | case $0 in #(( |
| 59 | *[\\/]* ) as_myself=$0 ;; |
| 60 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 61 | for as_dir in $PATH |
| 62 | do |
| 63 | IFS=$as_save_IFS |
| 64 | case $as_dir in #((( |
| 65 | '') as_dir=./ ;; |
| 66 | */) ;; |
| 67 | *) as_dir=$as_dir/ ;; |
| 68 | esac |
| 69 | testscip-shell system . . test. -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 70 | done |
| 71 | IFS=$as_save_IFS |
| 72 | |
| 73 | ;; |
| 74 | esac |
| 75 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 76 | # in which case we are not to be found in the path. |
| 77 | if testscip-shell system . . test. "x$as_myself" = x; then |
| 78 | as_myself=$0 |
| 79 | fi |
| 80 | if testscip-shell system . . test. ! -f "$as_myself"; then |
| 81 | printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 82 | exit 1 |
| 83 | fi |
| 84 | |
| 85 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 86 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 87 | # suppresses any "Segmentation fault" message there. '((' could |
| 88 | # trigger a bug in pdksh 5.2.14. |
| 89 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 90 | do eval test x\${$as_var+set} = xset \ |
| 91 | && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || : |
| 92 | done |
| 93 | PS1='$ ' |
| 94 | PS2='> ' |
| 95 | PS4='+ ' |
| 96 | |
| 97 | # NLS nuisances. |
| 98 | LC_ALL=C |
| 99 | export LC_ALL |
| 100 | LANGUAGE=C |
| 101 | export LANGUAGE |
| 102 | |
| 103 | # CDPATH. |
| 104 | (unset CDPATH) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset CDPATH |
| 105 | |
| 106 | # Use a proper internal environment variable to ensure we don't fall |
| 107 | # into an infinite loop, continuously re-executing ourselves. |
| 108 | if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then |
| 109 | _as_can_reexec=no; export _as_can_reexec; |
| 110 | # We cannot yet assume a decent shell, so we have to provide a |
| 111 | # neutralization value for shells without unset; and this also |
| 112 | # works around shells that cannot unset nonexistent variables. |
| 113 | # Preserve -v and -x to the replacement shell. |
| 114 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 115 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 116 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 117 | case $- in # (((( |
| 118 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 119 | *v* ) as_opts=-v ;; |
| 120 | *x* ) as_opts=-x ;; |
| 121 | * ) as_opts= ;; |
| 122 | esac |
| 123 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 124 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 125 | # out after a failed `exec'. |
| 126 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 127 | as_fn_exitscip-shell shell cppi 1.18-6 as_fn_exit(). 255 |
| 128 | fi |
| 129 | # We don't want this to propagate to other subprocesses. |
| 130 | { _as_can_reexec=; unset _as_can_reexec;} |
| 131 | if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then |
| 132 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 133 | emulate sh |
| 134 | NULLCMD=: |
| 135 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 136 | # is contrary to our usage. Disable this feature. |
| 137 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 138 | setopt NO_GLOB_SUBST |
| 139 | else |
| 140 | case \`(set -o) 2>/dev/null\` in #( |
| 141 | *posix*) : |
| 142 | set -o posix ;; #( |
| 143 | *) : |
| 144 | ;; |
| 145 | esac |
| 146 | fi |
| 147 | " |
| 148 | as_required="as_fn_return () { (exit \$1); } |
| 149 | as_fn_success () { as_fn_return 0; } |
| 150 | as_fn_failure () { as_fn_return 1; } |
| 151 | as_fn_ret_success () { return 0; } |
| 152 | as_fn_ret_failure () { return 1; } |
| 153 | |
| 154 | exitcode=0 |
| 155 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 156 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 157 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 158 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 159 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 160 | |
| 161 | else |
| 162 | exitcode=1; echo positional parameters were not saved. |
| 163 | fi |
| 164 | test x\$exitcode = x0 || exit 1 |
| 165 | test -x / || exit 1" |
| 166 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 167 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 168 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 169 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 170 | test \$(( 1 + 1 )) = 2 || exit 1" |
| 171 | if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 172 | as_have_required=yes |
| 173 | else |
| 174 | as_have_required=no |
| 175 | fi |
| 176 | if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 177 | |
| 178 | else |
| 179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 180 | as_found=false |
| 181 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 182 | do |
| 183 | IFS=$as_save_IFS |
| 184 | case $as_dir in #((( |
| 185 | '') as_dir=./ ;; |
| 186 | */) ;; |
| 187 | *) as_dir=$as_dir/ ;; |
| 188 | esac |
| 189 | as_found=: |
| 190 | case $as_dir in #( |
| 191 | /*) |
| 192 | for as_base in sh bash ksh sh5; do |
| 193 | # Try only shells that exist, to save several forks. |
| 194 | as_shell=$as_dir$as_base |
| 195 | if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } && |
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 199 | break 2 |
| 200 | fi |
| 201 | fi |
| 202 | done;; |
| 203 | esac |
| 204 | as_found=false |
| 205 | done |
| 206 | IFS=$as_save_IFS |
| 207 | $as_found || { if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } && |
| 208 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 209 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 210 | fi; } |
| 211 | |
| 212 | |
| 213 | if testscip-shell system . . test. "x$CONFIG_SHELL" != x; then : |
| 214 | export CONFIG_SHELL |
| 215 | # We cannot yet assume a decent shell, so we have to provide a |
| 216 | # neutralization value for shells without unset; and this also |
| 217 | # works around shells that cannot unset nonexistent variables. |
| 218 | # Preserve -v and -x to the replacement shell. |
| 219 | BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 220 | ENV=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 221 | (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV |
| 222 | case $- in # (((( |
| 223 | *v*x* | *x*v* ) as_opts=-vx ;; |
| 224 | *v* ) as_opts=-v ;; |
| 225 | *x* ) as_opts=-x ;; |
| 226 | * ) as_opts= ;; |
| 227 | esac |
| 228 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 229 | # Admittedly, this is quite paranoid, since all the known shells bail |
| 230 | # out after a failed `exec'. |
| 231 | printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 232 | exit 255 |
| 233 | fi |
| 234 | |
| 235 | if testscip-shell system . . test. x$as_have_required = xno; then : |
| 236 | printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all" |
| 237 | printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system." |
| 238 | if testscip-shell system . . test. x${ZSH_VERSION+set} = xset ; then |
| 239 | printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 240 | printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
| 241 | else |
| 242 | printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] and [email protected] |
| 243 | $0: about your system, including any error possibly output |
| 244 | $0: before this message. Then install a modern shell, or |
| 245 | $0: manually run the script under such a shell if you do |
| 246 | $0: have one." |
| 247 | fi |
| 248 | exit 1 |
| 249 | fi |
| 250 | fi |
| 251 | fi |
| 252 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 253 | export SHELL |
| 254 | # Unset more variables known to interfere with behavior of common tools. |
| 255 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 256 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 257 | |
| 258 | ## --------------------- ## |
| 259 | ## M4sh Shell Functions. ## |
| 260 | ## --------------------- ## |
| 261 | # as_fn_unset VAR |
| 262 | # --------------- |
| 263 | # Portably unset VAR. |
| 264 | as_fn_unsetscip-shell shell cppi 1.18-6 as_fn_unset(). () |
| 265 | { |
| 266 | { eval $1=; unset $1;} |
| 267 | } |
| 268 | as_unset=as_fn_unset |
| 269 | |
| 270 | # as_fn_set_status STATUS |
| 271 | # ----------------------- |
| 272 | # Set $? to STATUS, without forking. |
| 273 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). () |
| 274 | { |
| 275 | return $1 |
| 276 | } # as_fn_set_status |
| 277 | |
| 278 | # as_fn_exit STATUS |
| 279 | # ----------------- |
| 280 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 281 | as_fn_exitscip-shell shell cppi 1.18-6 as_fn_exit(). () |
| 282 | { |
| 283 | set +e |
| 284 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $1 |
| 285 | exit $1 |
| 286 | } # as_fn_exit |
| 287 | |
| 288 | # as_fn_mkdir_p |
| 289 | # ------------- |
| 290 | # Create "$as_dir" as a directory, including parents if necessary. |
| 291 | as_fn_mkdir_pscip-shell shell cppi 1.18-6 as_fn_mkdir_p(). () |
| 292 | { |
| 293 | |
| 294 | case $as_dir in #( |
| 295 | -*) as_dir=./$as_dir;; |
| 296 | esac |
| 297 | testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || { |
| 298 | as_dirs= |
| 299 | while :; do |
| 300 | case $as_dir in #( |
| 301 | *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'( |
| 302 | *) as_qdir=$as_dir;; |
| 303 | esac |
| 304 | as_dirs="'$as_qdir' $as_dirs" |
| 305 | as_dir=`$as_dirname -- "$as_dir" || |
| 306 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 307 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 308 | X"$as_dir" : 'X\(//\)$' \| \ |
| 309 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 310 | printfscip-shell system . . printf. "%s\n" X"$as_dir" | |
| 311 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 312 | s//\1/ |
| 313 | q |
| 314 | } |
| 315 | /^X\(\/\/\)[^/].*/{ |
| 316 | s//\1/ |
| 317 | q |
| 318 | } |
| 319 | /^X\(\/\/\)$/{ |
| 320 | s//\1/ |
| 321 | q |
| 322 | } |
| 323 | /^X\(\/\).*/{ |
| 324 | s//\1/ |
| 325 | q |
| 326 | } |
| 327 | s/.*/./; q'` |
| 328 | testscip-shell system . . test. -d "$as_dir" && break |
| 329 | done |
| 330 | testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs" |
| 331 | } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot create directory $as_dir" |
| 332 | |
| 333 | |
| 334 | } # as_fn_mkdir_p |
| 335 | |
| 336 | # as_fn_executable_p FILE |
| 337 | # ----------------------- |
| 338 | # Test if FILE is an executable regular file. |
| 339 | as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). () |
| 340 | { |
| 341 | testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1" |
| 342 | } # as_fn_executable_p |
| 343 | # as_fn_append VAR VALUE |
| 344 | # ---------------------- |
| 345 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 346 | # advantage of any shell optimizations that allow amortized linear growth over |
| 347 | # repeated appends, instead of the typical quadratic growth present in naive |
| 348 | # implementations. |
| 349 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 350 | eval 'as_fn_append () |
| 351 | { |
| 352 | eval $1+=\$2 |
| 353 | }' |
| 354 | else |
| 355 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). () |
| 356 | { |
| 357 | eval $1=\$$1\$2 |
| 358 | } |
| 359 | fi # as_fn_append |
| 360 | |
| 361 | # as_fn_arith ARG... |
| 362 | # ------------------ |
| 363 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 364 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 365 | # must be portable across $(()) and expr. |
| 366 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then : |
| 367 | eval 'as_fn_arith () |
| 368 | { |
| 369 | as_val=$(( $* )) |
| 370 | }' |
| 371 | else |
| 372 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). () |
| 373 | { |
| 374 | as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1` |
| 375 | } |
| 376 | fi # as_fn_arith |
| 377 | |
| 378 | |
| 379 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 380 | # ---------------------------------------- |
| 381 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 382 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 383 | # script with STATUS, using 1 if that was 0. |
| 384 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). () |
| 385 | { |
| 386 | as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1 |
| 387 | if testscip-shell system . . test. "$4"; then |
| 388 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 389 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 390 | fi |
| 391 | printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2 |
| 392 | as_fn_exitscip-shell shell cppi 1.18-6 as_fn_exit(). $as_status |
| 393 | } # as_fn_error |
| 394 | |
| 395 | if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 396 | testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then |
| 397 | as_expr=expr |
| 398 | else |
| 399 | as_expr=false |
| 400 | fi |
| 401 | |
| 402 | if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then |
| 403 | as_basename=basename |
| 404 | else |
| 405 | as_basename=false |
| 406 | fi |
| 407 | |
| 408 | if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 409 | as_dirname=dirname |
| 410 | else |
| 411 | as_dirname=false |
| 412 | fi |
| 413 | |
| 414 | as_me=`$as_basename -- "$0" || |
| 415 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 416 | X"$0" : 'X\(//\)$' \| \ |
| 417 | X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 418 | printfscip-shell system . . printf. "%s\n" X/"$0" | |
| 419 | sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{ |
| 420 | s//\1/ |
| 421 | q |
| 422 | } |
| 423 | /^X\/\(\/\/\)$/{ |
| 424 | s//\1/ |
| 425 | q |
| 426 | } |
| 427 | /^X\/\(\/\).*/{ |
| 428 | s//\1/ |
| 429 | q |
| 430 | } |
| 431 | s/.*/./; q'` |
| 432 | |
| 433 | # Avoid depending upon Character Ranges. |
| 434 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 435 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 436 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 437 | as_cr_digits='0123456789' |
| 438 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 439 | |
| 440 | |
| 441 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 442 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 443 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 444 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 445 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 446 | sedscip-shell system . . sed. -n ' |
| 447 | p |
| 448 | /[$]LINENO/= |
| 449 | ' <$as_myself | |
| 450 | sedscip-shell system . . sed. ' |
| 451 | s/[$]LINENO.*/&-/ |
| 452 | t lineno |
| 453 | b |
| 454 | :lineno |
| 455 | N |
| 456 | :loop |
| 457 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 458 | t loop |
| 459 | s/-\n.*// |
| 460 | ' >$as_me.lineno && |
| 461 | chmodscip-shell system . . chmod. +x "$as_me.lineno" || |
| 462 | { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell cppi 1.18-6 as_fn_exit(). 1; } |
| 463 | |
| 464 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 465 | # already done that, so ensure we don't try to do so again and fall |
| 466 | # in an infinite loop. This has already happened in practice. |
| 467 | _as_can_reexec=no; export _as_can_reexec |
| 468 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 469 | # (the dirname of $[0] is not the place where we might find the |
| 470 | # original and so on. Autoconf is especially sensitive to this). |
| 471 | . "./$as_me.lineno" |
| 472 | # Exit status is that of the last command. |
| 473 | exit |
| 474 | } |
| 475 | |
| 476 | ECHO_C= ECHO_N= ECHO_T= |
| 477 | case `echoscip-shell system . . echo. -n x` in #((((( |
| 478 | -n*) |
| 479 | case `echoscip-shell system . . echo. 'xy\c'` in |
| 480 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 481 | xy) ECHO_C='\c';; |
| 482 | *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 483 | ECHO_T=' ';; |
| 484 | esac;; |
| 485 | *) |
| 486 | ECHO_N='-n';; |
| 487 | esac |
| 488 | |
| 489 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file |
| 490 | if testscip-shell system . . test. -d conf$$.dir; then |
| 491 | rmscip-shell system . . rm. -f conf$$.dir/conf$$.file |
| 492 | else |
| 493 | rmscip-shell system . . rm. -f conf$$.dir |
| 494 | mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 495 | fi |
| 496 | if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 497 | if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 498 | as_ln_s='ln -s' |
| 499 | # ... but there are two gotchas: |
| 500 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 501 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 502 | # In both cases, we have to default to `cp -pR'. |
| 503 | lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe || |
| 504 | as_ln_s='cp -pR' |
| 505 | elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 506 | as_ln_s=ln |
| 507 | else |
| 508 | as_ln_s='cp -pR' |
| 509 | fi |
| 510 | else |
| 511 | as_ln_s='cp -pR' |
| 512 | fi |
| 513 | rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 514 | rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 515 | |
| 516 | if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 517 | as_mkdir_p='mkdir -p "$as_dir"' |
| 518 | else |
| 519 | testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p |
| 520 | as_mkdir_p=false |
| 521 | fi |
| 522 | |
| 523 | as_test_x='test -x' |
| 524 | as_executable_p=as_fn_executable_p |
| 525 | |
| 526 | # Sed expression to map a string onto a valid CPP name. |
| 527 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 528 | |
| 529 | # Sed expression to map a string onto a valid variable name. |
| 530 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 531 | |
| 532 | |
| 533 | testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`. |
| 534 | exec 6>&1 |
| 535 | |
| 536 | # Name of the host. |
| 537 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 538 | # so uname gets run too. |
| 539 | ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 540 | |
| 541 | # |
| 542 | # Initializations. |
| 543 | # |
| 544 | ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`. |
| 545 | ac_clean_files= |
| 546 | ac_config_libobj_dir=. |
| 547 | LIBOBJS= |
| 548 | cross_compiling=no |
| 549 | subdirs= |
| 550 | MFLAGS= |
| 551 | MAKEFLAGS= |
| 552 | |
| 553 | # Identity of this package. |
| 554 | PACKAGE_NAME='GNU cppi' |
| 555 | PACKAGE_TARNAME='cppi' |
| 556 | PACKAGE_VERSION='1.18' |
| 557 | PACKAGE_STRING='GNU cppi 1.18' |
| 558 | PACKAGE_BUGREPORT='[email protected]' |
| 559 | PACKAGE_URL='http://www.gnu.org/software/cppi/' |
| 560 | |
| 561 | ac_unique_file="src/cppi.l" |
| 562 | # Factoring default headers for most tests. |
| 563 | ac_includes_default="\ |
| 564 | #include <stdio.h> |
| 565 | #ifdef HAVE_SYS_TYPES_H |
| 566 | # include <sys/types.h> |
| 567 | #endif |
| 568 | #ifdef HAVE_SYS_STAT_H |
| 569 | # include <sys/stat.h> |
| 570 | #endif |
| 571 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
| 572 | # include <stdlib.h> |
| 573 | #endif |
| 574 | #include <stddef.h> |
| 575 | #ifdef HAVE_STRING_H |
| 576 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 577 | # include <memory.h> |
| 578 | # endif |
| 579 | # include <string.h> |
| 580 | #endif |
| 581 | #ifdef HAVE_STRINGS_H |
| 582 | # include <strings.h> |
| 583 | #endif |
| 584 | #ifdef HAVE_INTTYPES_H |
| 585 | # include <inttypes.h> |
| 586 | #endif |
| 587 | #ifdef HAVE_STDINT_H |
| 588 | # include <stdint.h> |
| 589 | #endif |
| 590 | #ifdef HAVE_UNISTD_H |
| 591 | # include <unistd.h> |
| 592 | #endif" |
| 593 | |
| 594 | ac_header_list= |
| 595 | ac_func_list= |
| 596 | gl_getopt_required=POSIX |
| 597 | gl_getopt_required=POSIX |
| 598 | gt_needs= |
| 599 | ac_config_libobj_dir=lib |
| 600 | ac_subst_vars='gltests_LTLIBOBJS |
| 601 | gltests_LIBOBJS |
| 602 | gl_LTLIBOBJS |
| 603 | gl_LIBOBJS |
| 604 | CONFIG_INCLUDE |
| 605 | am__EXEEXT_FALSE |
| 606 | am__EXEEXT_TRUE |
| 607 | LTLIBOBJS |
| 608 | LIBOBJS |
| 609 | POSUB |
| 610 | INTLLIBS |
| 611 | LTLIBICONV |
| 612 | LIBICONV |
| 613 | INTL_MACOSX_LIBS |
| 614 | XGETTEXT_EXTRA_OPTIONS |
| 615 | MSGMERGE |
| 616 | XGETTEXT_015 |
| 617 | XGETTEXT |
| 618 | GMSGFMT_015 |
| 619 | MSGFMT_015 |
| 620 | GMSGFMT |
| 621 | MSGFMT |
| 622 | GETTEXT_MACRO_VERSION |
| 623 | USE_NLS |
| 624 | mkdir_p |
| 625 | WARN_CFLAGS |
| 626 | WERROR_CFLAGS |
| 627 | LIBCPPI_LTLIBDEPS |
| 628 | LIBCPPI_LIBDEPS |
| 629 | gltests_WITNESS |
| 630 | REPLACE_TOWLOWER |
| 631 | REPLACE_ISWCNTRL |
| 632 | HAVE_WCTYPE_H |
| 633 | NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H |
| 634 | NEXT_WCTYPE_H |
| 635 | HAVE_ISWCNTRL |
| 636 | REPLACE_ISWBLANK |
| 637 | HAVE_WCTRANS_T |
| 638 | HAVE_WCTYPE_T |
| 639 | HAVE_ISWBLANK |
| 640 | GNULIB_TOWCTRANS |
| 641 | GNULIB_WCTRANS |
| 642 | GNULIB_ISWCTYPE |
| 643 | GNULIB_WCTYPE |
| 644 | GNULIB_ISWBLANK |
| 645 | HAVE_WINT_T |
| 646 | HAVE_FEATURES_H |
| 647 | NEXT_AS_FIRST_DIRECTIVE_WCHAR_H |
| 648 | NEXT_WCHAR_H |
| 649 | HAVE_UNISTD_H |
| 650 | NEXT_AS_FIRST_DIRECTIVE_UNISTD_H |
| 651 | NEXT_UNISTD_H |
| 652 | PTHREAD_H_DEFINES_STRUCT_TIMESPEC |
| 653 | SYS_TIME_H_DEFINES_STRUCT_TIMESPEC |
| 654 | TIME_H_DEFINES_STRUCT_TIMESPEC |
| 655 | NEXT_AS_FIRST_DIRECTIVE_TIME_H |
| 656 | NEXT_TIME_H |
| 657 | REPLACE_TIMEGM |
| 658 | REPLACE_NANOSLEEP |
| 659 | REPLACE_MKTIME |
| 660 | REPLACE_LOCALTIME_R |
| 661 | HAVE_TIMEGM |
| 662 | HAVE_STRPTIME |
| 663 | HAVE_NANOSLEEP |
| 664 | HAVE_DECL_LOCALTIME_R |
| 665 | GNULIB_TIME_R |
| 666 | GNULIB_TIMEGM |
| 667 | GNULIB_STRPTIME |
| 668 | GNULIB_NANOSLEEP |
| 669 | GNULIB_MKTIME |
| 670 | WINDOWS_64_BIT_OFF_T |
| 671 | NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H |
| 672 | NEXT_SYS_TYPES_H |
| 673 | NEXT_AS_FIRST_DIRECTIVE_STRING_H |
| 674 | NEXT_STRING_H |
| 675 | HAVE_WINSOCK2_H |
| 676 | UNDEFINE_STRTOK_R |
| 677 | REPLACE_STRTOK_R |
| 678 | REPLACE_STRSIGNAL |
| 679 | REPLACE_STRNLEN |
| 680 | REPLACE_STRNDUP |
| 681 | REPLACE_STRNCAT |
| 682 | REPLACE_STRERROR_R |
| 683 | REPLACE_STRERROR |
| 684 | REPLACE_STRCHRNUL |
| 685 | REPLACE_STRCASESTR |
| 686 | REPLACE_STRSTR |
| 687 | REPLACE_STRDUP |
| 688 | REPLACE_STPNCPY |
| 689 | REPLACE_MEMMEM |
| 690 | REPLACE_MEMCHR |
| 691 | HAVE_STRVERSCMP |
| 692 | HAVE_DECL_STRSIGNAL |
| 693 | HAVE_DECL_STRERROR_R |
| 694 | HAVE_DECL_STRTOK_R |
| 695 | HAVE_STRCASESTR |
| 696 | HAVE_STRSEP |
| 697 | HAVE_STRPBRK |
| 698 | HAVE_DECL_STRNLEN |
| 699 | HAVE_DECL_STRNDUP |
| 700 | HAVE_DECL_STRDUP |
| 701 | HAVE_STRCHRNUL |
| 702 | HAVE_STPNCPY |
| 703 | HAVE_STPCPY |
| 704 | HAVE_RAWMEMCHR |
| 705 | HAVE_DECL_MEMRCHR |
| 706 | HAVE_MEMPCPY |
| 707 | HAVE_DECL_MEMMEM |
| 708 | HAVE_MEMCHR |
| 709 | HAVE_FFSLL |
| 710 | HAVE_FFSL |
| 711 | HAVE_MBSLEN |
| 712 | GNULIB_STRVERSCMP |
| 713 | GNULIB_STRSIGNAL |
| 714 | GNULIB_STRERROR_R |
| 715 | GNULIB_STRERROR |
| 716 | GNULIB_MBSTOK_R |
| 717 | GNULIB_MBSSEP |
| 718 | GNULIB_MBSSPN |
| 719 | GNULIB_MBSPBRK |
| 720 | GNULIB_MBSCSPN |
| 721 | GNULIB_MBSCASESTR |
| 722 | GNULIB_MBSPCASECMP |
| 723 | GNULIB_MBSNCASECMP |
| 724 | GNULIB_MBSCASECMP |
| 725 | GNULIB_MBSSTR |
| 726 | GNULIB_MBSRCHR |
| 727 | GNULIB_MBSCHR |
| 728 | GNULIB_MBSNLEN |
| 729 | GNULIB_MBSLEN |
| 730 | GNULIB_STRTOK_R |
| 731 | GNULIB_STRCASESTR |
| 732 | GNULIB_STRSTR |
| 733 | GNULIB_STRSEP |
| 734 | GNULIB_STRPBRK |
| 735 | GNULIB_STRNLEN |
| 736 | GNULIB_STRNDUP |
| 737 | GNULIB_STRNCAT |
| 738 | GNULIB_STRDUP |
| 739 | GNULIB_STRCHRNUL |
| 740 | GNULIB_STPNCPY |
| 741 | GNULIB_STPCPY |
| 742 | GNULIB_RAWMEMCHR |
| 743 | GNULIB_MEMRCHR |
| 744 | GNULIB_MEMPCPY |
| 745 | GNULIB_MEMMEM |
| 746 | GNULIB_MEMCHR |
| 747 | GNULIB_FFSLL |
| 748 | GNULIB_FFSL |
| 749 | NEXT_AS_FIRST_DIRECTIVE_STDLIB_H |
| 750 | NEXT_STDLIB_H |
| 751 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H |
| 752 | NEXT_STDDEF_H |
| 753 | GL_GENERATE_STDDEF_H_FALSE |
| 754 | GL_GENERATE_STDDEF_H_TRUE |
| 755 | STDDEF_H |
| 756 | HAVE_WCHAR_T |
| 757 | REPLACE_NULL |
| 758 | HAVE__BOOL |
| 759 | GL_GENERATE_STDBOOL_H_FALSE |
| 760 | GL_GENERATE_STDBOOL_H_TRUE |
| 761 | STDBOOL_H |
| 762 | GL_GENERATE_STDARG_H_FALSE |
| 763 | GL_GENERATE_STDARG_H_TRUE |
| 764 | STDARG_H |
| 765 | NEXT_AS_FIRST_DIRECTIVE_STDARG_H |
| 766 | NEXT_STDARG_H |
| 767 | HAVE_MSVC_INVALID_PARAMETER_HANDLER |
| 768 | LOCALE_FR_UTF8 |
| 769 | LOCALE_ZH_CN |
| 770 | LOCALE_JA |
| 771 | REPLACE_WCSWIDTH |
| 772 | REPLACE_WCWIDTH |
| 773 | REPLACE_WCSNRTOMBS |
| 774 | REPLACE_WCSRTOMBS |
| 775 | REPLACE_WCRTOMB |
| 776 | REPLACE_MBSNRTOWCS |
| 777 | REPLACE_MBSRTOWCS |
| 778 | REPLACE_MBRLEN |
| 779 | REPLACE_MBRTOWC |
| 780 | REPLACE_MBSINIT |
| 781 | REPLACE_WCTOB |
| 782 | REPLACE_BTOWC |
| 783 | REPLACE_MBSTATE_T |
| 784 | HAVE_DECL_WCWIDTH |
| 785 | HAVE_DECL_WCTOB |
| 786 | HAVE_WCSWIDTH |
| 787 | HAVE_WCSTOK |
| 788 | HAVE_WCSSTR |
| 789 | HAVE_WCSPBRK |
| 790 | HAVE_WCSSPN |
| 791 | HAVE_WCSCSPN |
| 792 | HAVE_WCSRCHR |
| 793 | HAVE_WCSCHR |
| 794 | HAVE_WCSDUP |
| 795 | HAVE_WCSXFRM |
| 796 | HAVE_WCSCOLL |
| 797 | HAVE_WCSNCASECMP |
| 798 | HAVE_WCSCASECMP |
| 799 | HAVE_WCSNCMP |
| 800 | HAVE_WCSCMP |
| 801 | HAVE_WCSNCAT |
| 802 | HAVE_WCSCAT |
| 803 | HAVE_WCPNCPY |
| 804 | HAVE_WCSNCPY |
| 805 | HAVE_WCPCPY |
| 806 | HAVE_WCSCPY |
| 807 | HAVE_WCSNLEN |
| 808 | HAVE_WCSLEN |
| 809 | HAVE_WMEMSET |
| 810 | HAVE_WMEMMOVE |
| 811 | HAVE_WMEMCPY |
| 812 | HAVE_WMEMCMP |
| 813 | HAVE_WMEMCHR |
| 814 | HAVE_WCSNRTOMBS |
| 815 | HAVE_WCSRTOMBS |
| 816 | HAVE_WCRTOMB |
| 817 | HAVE_MBSNRTOWCS |
| 818 | HAVE_MBSRTOWCS |
| 819 | HAVE_MBRLEN |
| 820 | HAVE_MBRTOWC |
| 821 | HAVE_MBSINIT |
| 822 | HAVE_BTOWC |
| 823 | GNULIB_WCSWIDTH |
| 824 | GNULIB_WCSTOK |
| 825 | GNULIB_WCSSTR |
| 826 | GNULIB_WCSPBRK |
| 827 | GNULIB_WCSSPN |
| 828 | GNULIB_WCSCSPN |
| 829 | GNULIB_WCSRCHR |
| 830 | GNULIB_WCSCHR |
| 831 | GNULIB_WCSDUP |
| 832 | GNULIB_WCSXFRM |
| 833 | GNULIB_WCSCOLL |
| 834 | GNULIB_WCSNCASECMP |
| 835 | GNULIB_WCSCASECMP |
| 836 | GNULIB_WCSNCMP |
| 837 | GNULIB_WCSCMP |
| 838 | GNULIB_WCSNCAT |
| 839 | GNULIB_WCSCAT |
| 840 | GNULIB_WCPNCPY |
| 841 | GNULIB_WCSNCPY |
| 842 | GNULIB_WCPCPY |
| 843 | GNULIB_WCSCPY |
| 844 | GNULIB_WCSNLEN |
| 845 | GNULIB_WCSLEN |
| 846 | GNULIB_WMEMSET |
| 847 | GNULIB_WMEMMOVE |
| 848 | GNULIB_WMEMCPY |
| 849 | GNULIB_WMEMCMP |
| 850 | GNULIB_WMEMCHR |
| 851 | GNULIB_WCWIDTH |
| 852 | GNULIB_WCSNRTOMBS |
| 853 | GNULIB_WCSRTOMBS |
| 854 | GNULIB_WCRTOMB |
| 855 | GNULIB_MBSNRTOWCS |
| 856 | GNULIB_MBSRTOWCS |
| 857 | GNULIB_MBRLEN |
| 858 | GNULIB_MBRTOWC |
| 859 | GNULIB_MBSINIT |
| 860 | GNULIB_WCTOB |
| 861 | GNULIB_BTOWC |
| 862 | LOCALCHARSET_TESTS_ENVIRONMENT |
| 863 | GLIBC21 |
| 864 | IGNORE_UNUSED_LIBRARIES_CFLAGS |
| 865 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H |
| 866 | NEXT_INTTYPES_H |
| 867 | UINT64_MAX_EQ_ULONG_MAX |
| 868 | UINT32_MAX_LT_UINTMAX_MAX |
| 869 | PRIPTR_PREFIX |
| 870 | PRI_MACROS_BROKEN |
| 871 | INT64_MAX_EQ_LONG_MAX |
| 872 | INT32_MAX_LT_INTMAX_MAX |
| 873 | REPLACE_STRTOIMAX |
| 874 | HAVE_DECL_STRTOUMAX |
| 875 | HAVE_DECL_STRTOIMAX |
| 876 | HAVE_DECL_IMAXDIV |
| 877 | HAVE_DECL_IMAXABS |
| 878 | GNULIB_STRTOUMAX |
| 879 | GNULIB_STRTOIMAX |
| 880 | GNULIB_IMAXDIV |
| 881 | GNULIB_IMAXABS |
| 882 | GL_GENERATE_STDINT_H_FALSE |
| 883 | GL_GENERATE_STDINT_H_TRUE |
| 884 | STDINT_H |
| 885 | WINT_T_SUFFIX |
| 886 | WCHAR_T_SUFFIX |
| 887 | SIG_ATOMIC_T_SUFFIX |
| 888 | SIZE_T_SUFFIX |
| 889 | PTRDIFF_T_SUFFIX |
| 890 | HAVE_SIGNED_WINT_T |
| 891 | HAVE_SIGNED_WCHAR_T |
| 892 | HAVE_SIGNED_SIG_ATOMIC_T |
| 893 | BITSIZEOF_WINT_T |
| 894 | BITSIZEOF_WCHAR_T |
| 895 | BITSIZEOF_SIG_ATOMIC_T |
| 896 | BITSIZEOF_SIZE_T |
| 897 | BITSIZEOF_PTRDIFF_T |
| 898 | APPLE_UNIVERSAL_BUILD |
| 899 | HAVE_SYS_BITYPES_H |
| 900 | HAVE_SYS_INTTYPES_H |
| 901 | HAVE_STDINT_H |
| 902 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H |
| 903 | NEXT_STDINT_H |
| 904 | HAVE_SYS_TYPES_H |
| 905 | HAVE_INTTYPES_H |
| 906 | HAVE_WCHAR_H |
| 907 | HAVE_UNSIGNED_LONG_LONG_INT |
| 908 | HAVE_LONG_LONG_INT |
| 909 | LTLIBINTL |
| 910 | LIBINTL |
| 911 | GNULIB_GL_UNISTD_H_GETOPT |
| 912 | GETOPT_H |
| 913 | HAVE_GETOPT_H |
| 914 | NEXT_AS_FIRST_DIRECTIVE_GETOPT_H |
| 915 | NEXT_GETOPT_H |
| 916 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS |
| 917 | UNISTD_H_HAVE_WINSOCK2_H |
| 918 | REPLACE_WRITE |
| 919 | REPLACE_USLEEP |
| 920 | REPLACE_UNLINKAT |
| 921 | REPLACE_UNLINK |
| 922 | REPLACE_TTYNAME_R |
| 923 | REPLACE_SYMLINK |
| 924 | REPLACE_SLEEP |
| 925 | REPLACE_RMDIR |
| 926 | REPLACE_READLINK |
| 927 | REPLACE_READ |
| 928 | REPLACE_PWRITE |
| 929 | REPLACE_PREAD |
| 930 | REPLACE_LSEEK |
| 931 | REPLACE_LINKAT |
| 932 | REPLACE_LINK |
| 933 | REPLACE_LCHOWN |
| 934 | REPLACE_ISATTY |
| 935 | REPLACE_GETPAGESIZE |
| 936 | REPLACE_GETGROUPS |
| 937 | REPLACE_GETLOGIN_R |
| 938 | REPLACE_GETDOMAINNAME |
| 939 | REPLACE_GETCWD |
| 940 | REPLACE_FTRUNCATE |
| 941 | REPLACE_FCHOWNAT |
| 942 | REPLACE_DUP2 |
| 943 | REPLACE_DUP |
| 944 | REPLACE_CLOSE |
| 945 | REPLACE_CHOWN |
| 946 | HAVE_SYS_PARAM_H |
| 947 | HAVE_OS_H |
| 948 | HAVE_DECL_TTYNAME_R |
| 949 | HAVE_DECL_SETHOSTNAME |
| 950 | HAVE_DECL_GETUSERSHELL |
| 951 | HAVE_DECL_GETPAGESIZE |
| 952 | HAVE_DECL_GETLOGIN_R |
| 953 | HAVE_DECL_GETDOMAINNAME |
| 954 | HAVE_DECL_FDATASYNC |
| 955 | HAVE_DECL_FCHDIR |
| 956 | HAVE_DECL_ENVIRON |
| 957 | HAVE_USLEEP |
| 958 | HAVE_UNLINKAT |
| 959 | HAVE_SYMLINKAT |
| 960 | HAVE_SYMLINK |
| 961 | HAVE_SLEEP |
| 962 | HAVE_SETHOSTNAME |
| 963 | HAVE_READLINKAT |
| 964 | HAVE_READLINK |
| 965 | HAVE_PWRITE |
| 966 | HAVE_PREAD |
| 967 | HAVE_PIPE2 |
| 968 | HAVE_PIPE |
| 969 | HAVE_LINKAT |
| 970 | HAVE_LINK |
| 971 | HAVE_LCHOWN |
| 972 | HAVE_GROUP_MEMBER |
| 973 | HAVE_GETPAGESIZE |
| 974 | HAVE_GETLOGIN |
| 975 | HAVE_GETHOSTNAME |
| 976 | HAVE_GETGROUPS |
| 977 | HAVE_GETDTABLESIZE |
| 978 | HAVE_FTRUNCATE |
| 979 | HAVE_FSYNC |
| 980 | HAVE_FDATASYNC |
| 981 | HAVE_FCHOWNAT |
| 982 | HAVE_FCHDIR |
| 983 | HAVE_FACCESSAT |
| 984 | HAVE_EUIDACCESS |
| 985 | HAVE_DUP3 |
| 986 | HAVE_DUP2 |
| 987 | HAVE_CHOWN |
| 988 | GNULIB_WRITE |
| 989 | GNULIB_USLEEP |
| 990 | GNULIB_UNLINKAT |
| 991 | GNULIB_UNLINK |
| 992 | GNULIB_UNISTD_H_SIGPIPE |
| 993 | GNULIB_UNISTD_H_NONBLOCKING |
| 994 | GNULIB_TTYNAME_R |
| 995 | GNULIB_SYMLINKAT |
| 996 | GNULIB_SYMLINK |
| 997 | GNULIB_SLEEP |
| 998 | GNULIB_SETHOSTNAME |
| 999 | GNULIB_RMDIR |
| 1000 | GNULIB_READLINKAT |
| 1001 | GNULIB_READLINK |
| 1002 | GNULIB_READ |
| 1003 | GNULIB_PWRITE |
| 1004 | GNULIB_PREAD |
| 1005 | GNULIB_PIPE2 |
| 1006 | GNULIB_PIPE |
| 1007 | GNULIB_LSEEK |
| 1008 | GNULIB_LINKAT |
| 1009 | GNULIB_LINK |
| 1010 | GNULIB_LCHOWN |
| 1011 | GNULIB_ISATTY |
| 1012 | GNULIB_GROUP_MEMBER |
| 1013 | GNULIB_GETUSERSHELL |
| 1014 | GNULIB_GETPAGESIZE |
| 1015 | GNULIB_GETLOGIN_R |
| 1016 | GNULIB_GETLOGIN |
| 1017 | GNULIB_GETHOSTNAME |
| 1018 | GNULIB_GETGROUPS |
| 1019 | GNULIB_GETDTABLESIZE |
| 1020 | GNULIB_GETDOMAINNAME |
| 1021 | GNULIB_GETCWD |
| 1022 | GNULIB_FTRUNCATE |
| 1023 | GNULIB_FSYNC |
| 1024 | GNULIB_FDATASYNC |
| 1025 | GNULIB_FCHOWNAT |
| 1026 | GNULIB_FCHDIR |
| 1027 | GNULIB_FACCESSAT |
| 1028 | GNULIB_EUIDACCESS |
| 1029 | GNULIB_ENVIRON |
| 1030 | GNULIB_DUP3 |
| 1031 | GNULIB_DUP2 |
| 1032 | GNULIB_DUP |
| 1033 | GNULIB_CLOSE |
| 1034 | GNULIB_CHOWN |
| 1035 | GNULIB_CHDIR |
| 1036 | EOVERFLOW_VALUE |
| 1037 | EOVERFLOW_HIDDEN |
| 1038 | ENOLINK_VALUE |
| 1039 | ENOLINK_HIDDEN |
| 1040 | EMULTIHOP_VALUE |
| 1041 | EMULTIHOP_HIDDEN |
| 1042 | GL_GENERATE_ERRNO_H_FALSE |
| 1043 | GL_GENERATE_ERRNO_H_TRUE |
| 1044 | ERRNO_H |
| 1045 | NEXT_AS_FIRST_DIRECTIVE_ERRNO_H |
| 1046 | NEXT_ERRNO_H |
| 1047 | PRAGMA_COLUMNS |
| 1048 | PRAGMA_SYSTEM_HEADER |
| 1049 | INCLUDE_NEXT_AS_FIRST_DIRECTIVE |
| 1050 | INCLUDE_NEXT |
| 1051 | pkglibexecdir |
| 1052 | lispdir |
| 1053 | REPLACE_WCTOMB |
| 1054 | REPLACE_UNSETENV |
| 1055 | REPLACE_STRTOD |
| 1056 | REPLACE_SETENV |
| 1057 | REPLACE_REALPATH |
| 1058 | REPLACE_REALLOC |
| 1059 | REPLACE_RANDOM_R |
| 1060 | REPLACE_PUTENV |
| 1061 | REPLACE_PTSNAME_R |
| 1062 | REPLACE_PTSNAME |
| 1063 | REPLACE_MKSTEMP |
| 1064 | REPLACE_MBTOWC |
| 1065 | REPLACE_MALLOC |
| 1066 | REPLACE_CANONICALIZE_FILE_NAME |
| 1067 | REPLACE_CALLOC |
| 1068 | HAVE_DECL_UNSETENV |
| 1069 | HAVE_UNLOCKPT |
| 1070 | HAVE_SYS_LOADAVG_H |
| 1071 | HAVE_STRUCT_RANDOM_DATA |
| 1072 | HAVE_STRTOULL |
| 1073 | HAVE_STRTOLL |
| 1074 | HAVE_STRTOD |
| 1075 | HAVE_DECL_SETENV |
| 1076 | HAVE_SETENV |
| 1077 | HAVE_SECURE_GETENV |
| 1078 | HAVE_RPMATCH |
| 1079 | HAVE_REALPATH |
| 1080 | HAVE_RANDOM_R |
| 1081 | HAVE_RANDOM_H |
| 1082 | HAVE_RANDOM |
| 1083 | HAVE_PTSNAME_R |
| 1084 | HAVE_PTSNAME |
| 1085 | HAVE_POSIX_OPENPT |
| 1086 | HAVE_MKSTEMPS |
| 1087 | HAVE_MKSTEMP |
| 1088 | HAVE_MKOSTEMPS |
| 1089 | HAVE_MKOSTEMP |
| 1090 | HAVE_MKDTEMP |
| 1091 | HAVE_GRANTPT |
| 1092 | HAVE_GETSUBOPT |
| 1093 | HAVE_DECL_GETLOADAVG |
| 1094 | HAVE_CANONICALIZE_FILE_NAME |
| 1095 | HAVE_ATOLL |
| 1096 | HAVE__EXIT |
| 1097 | GNULIB_WCTOMB |
| 1098 | GNULIB_UNSETENV |
| 1099 | GNULIB_UNLOCKPT |
| 1100 | GNULIB_SYSTEM_POSIX |
| 1101 | GNULIB_STRTOULL |
| 1102 | GNULIB_STRTOLL |
| 1103 | GNULIB_STRTOD |
| 1104 | GNULIB_SETENV |
| 1105 | GNULIB_SECURE_GETENV |
| 1106 | GNULIB_RPMATCH |
| 1107 | GNULIB_REALPATH |
| 1108 | GNULIB_REALLOC_POSIX |
| 1109 | GNULIB_RANDOM_R |
| 1110 | GNULIB_RANDOM |
| 1111 | GNULIB_PUTENV |
| 1112 | GNULIB_PTSNAME_R |
| 1113 | GNULIB_PTSNAME |
| 1114 | GNULIB_POSIX_OPENPT |
| 1115 | GNULIB_MKSTEMPS |
| 1116 | GNULIB_MKSTEMP |
| 1117 | GNULIB_MKOSTEMPS |
| 1118 | GNULIB_MKOSTEMP |
| 1119 | GNULIB_MKDTEMP |
| 1120 | GNULIB_MBTOWC |
| 1121 | GNULIB_MALLOC_POSIX |
| 1122 | GNULIB_GRANTPT |
| 1123 | GNULIB_GETSUBOPT |
| 1124 | GNULIB_GETLOADAVG |
| 1125 | GNULIB_CANONICALIZE_FILE_NAME |
| 1126 | GNULIB_CALLOC_POSIX |
| 1127 | GNULIB_ATOLL |
| 1128 | GNULIB__EXIT |
| 1129 | GL_COND_LIBTOOL_FALSE |
| 1130 | GL_COND_LIBTOOL_TRUE |
| 1131 | LEXLIB |
| 1132 | LEX_OUTPUT_ROOT |
| 1133 | LEX |
| 1134 | host_os |
| 1135 | host_vendor |
| 1136 | host_cpu |
| 1137 | host |
| 1138 | build_os |
| 1139 | build_vendor |
| 1140 | build_cpu |
| 1141 | build |
| 1142 | RANLIB |
| 1143 | ARFLAGS |
| 1144 | AR |
| 1145 | EGREP |
| 1146 | GREP |
| 1147 | CPP |
| 1148 | am__fastdepCC_FALSE |
| 1149 | am__fastdepCC_TRUE |
| 1150 | CCDEPMODE |
| 1151 | am__nodep |
| 1152 | AMDEPBACKSLASH |
| 1153 | AMDEP_FALSE |
| 1154 | AMDEP_TRUE |
| 1155 | am__quote |
| 1156 | am__include |
| 1157 | DEPDIR |
| 1158 | OBJEXT |
| 1159 | EXEEXT |
| 1160 | ac_ct_CC |
| 1161 | CPPFLAGS |
| 1162 | LDFLAGS |
| 1163 | CFLAGS |
| 1164 | CC |
| 1165 | HELP2MAN |
| 1166 | AM_BACKSLASH |
| 1167 | AM_DEFAULT_VERBOSITY |
| 1168 | AM_DEFAULT_V |
| 1169 | AM_V |
| 1170 | am__untar |
| 1171 | am__tar |
| 1172 | AMTAR |
| 1173 | SET_MAKE |
| 1174 | AWK |
| 1175 | MKDIR_P |
| 1176 | INSTALL_STRIP_PROGRAM |
| 1177 | STRIP |
| 1178 | install_sh |
| 1179 | MAKEINFO |
| 1180 | AUTOHEADER |
| 1181 | AUTOMAKE |
| 1182 | AUTOCONF |
| 1183 | ACLOCAL |
| 1184 | VERSION |
| 1185 | PACKAGE |
| 1186 | CYGPATH_W |
| 1187 | am__isrc |
| 1188 | INSTALL_DATA |
| 1189 | INSTALL_SCRIPT |
| 1190 | INSTALL_PROGRAM |
| 1191 | target_alias |
| 1192 | host_alias |
| 1193 | build_alias |
| 1194 | LIBS |
| 1195 | ECHO_T |
| 1196 | ECHO_N |
| 1197 | ECHO_C |
| 1198 | DEFS |
| 1199 | mandir |
| 1200 | localedir |
| 1201 | libdir |
| 1202 | psdir |
| 1203 | pdfdir |
| 1204 | dvidir |
| 1205 | htmldir |
| 1206 | infodir |
| 1207 | docdir |
| 1208 | oldincludedir |
| 1209 | includedir |
| 1210 | localstatedir |
| 1211 | sharedstatedir |
| 1212 | sysconfdir |
| 1213 | datadir |
| 1214 | datarootdir |
| 1215 | libexecdir |
| 1216 | sbindir |
| 1217 | bindir |
| 1218 | program_transform_name |
| 1219 | prefix |
| 1220 | exec_prefix |
| 1221 | PACKAGE_URL |
| 1222 | PACKAGE_BUGREPORT |
| 1223 | PACKAGE_STRING |
| 1224 | PACKAGE_VERSION |
| 1225 | PACKAGE_TARNAME |
| 1226 | PACKAGE_NAME |
| 1227 | PATH_SEPARATOR |
| 1228 | SHELL' |
| 1229 | ac_subst_files='' |
| 1230 | ac_user_opts=' |
| 1231 | enable_option_checking |
| 1232 | enable_silent_rules |
| 1233 | enable_dependency_tracking |
| 1234 | with_packager |
| 1235 | with_packager_version |
| 1236 | with_packager_bug_reports |
| 1237 | enable_gcc_warnings |
| 1238 | enable_assert |
| 1239 | enable_nls |
| 1240 | with_gnu_ld |
| 1241 | enable_rpath |
| 1242 | with_libiconv_prefix |
| 1243 | with_libintl_prefix |
| 1244 | ' |
| 1245 | ac_precious_vars='build_alias |
| 1246 | host_alias |
| 1247 | target_alias |
| 1248 | CC |
| 1249 | CFLAGS |
| 1250 | LDFLAGS |
| 1251 | LIBS |
| 1252 | CPPFLAGS |
| 1253 | CPP' |
| 1254 | |
| 1255 | |
| 1256 | # Initialize some variables set by options. |
| 1257 | ac_init_help= |
| 1258 | ac_init_version=false |
| 1259 | ac_unrecognized_opts= |
| 1260 | ac_unrecognized_sep= |
| 1261 | # The variables have the same names as the options, with |
| 1262 | # dashes changed to underlines. |
| 1263 | cache_file=/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1264 | exec_prefix=NONE |
| 1265 | no_create= |
| 1266 | no_recursion= |
| 1267 | prefix=NONE |
| 1268 | program_prefix=NONE |
| 1269 | program_suffix=NONE |
| 1270 | program_transform_name=s,x,x, |
| 1271 | silent= |
| 1272 | site= |
| 1273 | srcdir= |
| 1274 | verbose= |
| 1275 | x_includes=NONE |
| 1276 | x_libraries=NONE |
| 1277 | |
| 1278 | # Installation directory options. |
| 1279 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 1280 | # and all the variables that are supposed to be based on exec_prefix |
| 1281 | # by default will actually change. |
| 1282 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 1283 | # (The list follows the same order as the GNU Coding Standards.) |
| 1284 | bindir='${exec_prefix}/bin' |
| 1285 | sbindir='${exec_prefix}/sbin' |
| 1286 | libexecdir='${exec_prefix}/libexec' |
| 1287 | datarootdir='${prefix}/share' |
| 1288 | datadir='${datarootdir}' |
| 1289 | sysconfdir='${prefix}/etc' |
| 1290 | sharedstatedir='${prefix}/com' |
| 1291 | localstatedir='${prefix}/var' |
| 1292 | includedir='${prefix}/include' |
| 1293 | oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.' |
| 1294 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 1295 | infodir='${datarootdir}/info' |
| 1296 | htmldir='${docdir}' |
| 1297 | dvidir='${docdir}' |
| 1298 | pdfdir='${docdir}' |
| 1299 | psdir='${docdir}' |
| 1300 | libdir='${exec_prefix}/lib' |
| 1301 | localedir='${datarootdir}/locale' |
| 1302 | mandir='${datarootdir}/man' |
| 1303 | |
| 1304 | ac_prev= |
| 1305 | ac_dashdash= |
| 1306 | for ac_option |
| 1307 | do |
| 1308 | # If the previous option needs an argument, assign it. |
| 1309 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1310 | eval $ac_prev=\$ac_option |
| 1311 | ac_prev= |
| 1312 | continue |
| 1313 | fi |
| 1314 | |
| 1315 | case $ac_option in |
| 1316 | *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 1317 | *=) ac_optarg= ;; |
| 1318 | *) ac_optarg=yes ;; |
| 1319 | esac |
| 1320 | |
| 1321 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 1322 | |
| 1323 | case $ac_dashdash$ac_option in |
| 1324 | --) |
| 1325 | ac_dashdash=yes ;; |
| 1326 | |
| 1327 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 1328 | ac_prev=bindir ;; |
| 1329 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 1330 | bindir=$ac_optarg ;; |
| 1331 | |
| 1332 | -build | --build | --buil | --bui | --bu) |
| 1333 | ac_prev=build_alias ;; |
| 1334 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 1335 | build_alias=$ac_optarg ;; |
| 1336 | |
| 1337 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 1338 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 1339 | ac_prev=cache_file ;; |
| 1340 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 1341 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 1342 | cache_file=$ac_optarg ;; |
| 1343 | |
| 1344 | --config-cache | -C) |
| 1345 | cache_file=config.cache ;; |
| 1346 | |
| 1347 | -datadir | --datadir | --datadi | --datad) |
| 1348 | ac_prev=datadir ;; |
| 1349 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 1350 | datadir=$ac_optarg ;; |
| 1351 | |
| 1352 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 1353 | | --dataroo | --dataro | --datar) |
| 1354 | ac_prev=datarootdir ;; |
| 1355 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 1356 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 1357 | datarootdir=$ac_optarg ;; |
| 1358 | |
| 1359 | -disable-* | --disable-*) |
| 1360 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1361 | # Reject names that are not valid shell variable names. |
| 1362 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1363 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid feature name: $ac_useropt" |
| 1364 | ac_useropt_orig=$ac_useropt |
| 1365 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1366 | case $ac_user_opts in |
| 1367 | *" |
| 1368 | "enable_$ac_useropt" |
| 1369 | "*) ;; |
| 1370 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 1371 | ac_unrecognized_sep=', ';; |
| 1372 | esac |
| 1373 | eval enable_$ac_useropt=no ;; |
| 1374 | |
| 1375 | -docdir | --docdir | --docdi | --doc | --do) |
| 1376 | ac_prev=docdir ;; |
| 1377 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 1378 | docdir=$ac_optarg ;; |
| 1379 | |
| 1380 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 1381 | ac_prev=dvidir ;; |
| 1382 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 1383 | dvidir=$ac_optarg ;; |
| 1384 | |
| 1385 | -enable-* | --enable-*) |
| 1386 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1387 | # Reject names that are not valid shell variable names. |
| 1388 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1389 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid feature name: $ac_useropt" |
| 1390 | ac_useropt_orig=$ac_useropt |
| 1391 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1392 | case $ac_user_opts in |
| 1393 | *" |
| 1394 | "enable_$ac_useropt" |
| 1395 | "*) ;; |
| 1396 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 1397 | ac_unrecognized_sep=', ';; |
| 1398 | esac |
| 1399 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 1400 | |
| 1401 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1402 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 1403 | | --exec | --exe | --ex) |
| 1404 | ac_prev=exec_prefix ;; |
| 1405 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 1406 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 1407 | | --exec=* | --exe=* | --ex=*) |
| 1408 | exec_prefix=$ac_optarg ;; |
| 1409 | |
| 1410 | -gas | --gas | --ga | --g) |
| 1411 | # Obsolete; use --with-gas. |
| 1412 | with_gas=yes ;; |
| 1413 | |
| 1414 | -help | --help | --hel | --he | -h) |
| 1415 | ac_init_help=long ;; |
| 1416 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 1417 | ac_init_help=recursive ;; |
| 1418 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 1419 | ac_init_help=short ;; |
| 1420 | |
| 1421 | -host | --host | --hos | --ho) |
| 1422 | ac_prev=host_alias ;; |
| 1423 | -host=* | --host=* | --hos=* | --ho=*) |
| 1424 | host_alias=$ac_optarg ;; |
| 1425 | |
| 1426 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 1427 | ac_prev=htmldir ;; |
| 1428 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 1429 | | --ht=*) |
| 1430 | htmldir=$ac_optarg ;; |
| 1431 | |
| 1432 | -includedir | --includedir | --includedi | --included | --include \ |
| 1433 | | --includ | --inclu | --incl | --inc) |
| 1434 | ac_prev=includedir ;; |
| 1435 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 1436 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 1437 | includedir=$ac_optarg ;; |
| 1438 | |
| 1439 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 1440 | ac_prev=infodir ;; |
| 1441 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 1442 | infodir=$ac_optarg ;; |
| 1443 | |
| 1444 | -libdir | --libdir | --libdi | --libd) |
| 1445 | ac_prev=libdir ;; |
| 1446 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 1447 | libdir=$ac_optarg ;; |
| 1448 | |
| 1449 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 1450 | | --libexe | --libex | --libe) |
| 1451 | ac_prev=libexecdir ;; |
| 1452 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 1453 | | --libexe=* | --libex=* | --libe=*) |
| 1454 | libexecdir=$ac_optarg ;; |
| 1455 | |
| 1456 | -localedir | --localedir | --localedi | --localed | --locale) |
| 1457 | ac_prev=localedir ;; |
| 1458 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 1459 | localedir=$ac_optarg ;; |
| 1460 | |
| 1461 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1462 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 1463 | ac_prev=localstatedir ;; |
| 1464 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1465 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 1466 | localstatedir=$ac_optarg ;; |
| 1467 | |
| 1468 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 1469 | ac_prev=mandir ;; |
| 1470 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 1471 | mandir=$ac_optarg ;; |
| 1472 | |
| 1473 | -nfp | --nfp | --nf) |
| 1474 | # Obsolete; use --without-fp. |
| 1475 | with_fp=no ;; |
| 1476 | |
| 1477 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1478 | | --no-cr | --no-c | -n) |
| 1479 | no_create=yes ;; |
| 1480 | |
| 1481 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1482 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1483 | no_recursion=yes ;; |
| 1484 | |
| 1485 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1486 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1487 | | --oldin | --oldi | --old | --ol | --o) |
| 1488 | ac_prev=oldincludedir ;; |
| 1489 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1490 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1491 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1492 | oldincludedir=$ac_optarg ;; |
| 1493 | |
| 1494 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1495 | ac_prev=prefix ;; |
| 1496 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1497 | prefix=$ac_optarg ;; |
| 1498 | |
| 1499 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1500 | | --program-pre | --program-pr | --program-p) |
| 1501 | ac_prev=program_prefix ;; |
| 1502 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1503 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1504 | program_prefix=$ac_optarg ;; |
| 1505 | |
| 1506 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1507 | | --program-suf | --program-su | --program-s) |
| 1508 | ac_prev=program_suffix ;; |
| 1509 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1510 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1511 | program_suffix=$ac_optarg ;; |
| 1512 | |
| 1513 | -program-transform-name | --program-transform-name \ |
| 1514 | | --program-transform-nam | --program-transform-na \ |
| 1515 | | --program-transform-n | --program-transform- \ |
| 1516 | | --program-transform | --program-transfor \ |
| 1517 | | --program-transfo | --program-transf \ |
| 1518 | | --program-trans | --program-tran \ |
| 1519 | | --progr-tra | --program-tr | --program-t) |
| 1520 | ac_prev=program_transform_name ;; |
| 1521 | -program-transform-name=* | --program-transform-name=* \ |
| 1522 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1523 | | --program-transform-n=* | --program-transform-=* \ |
| 1524 | | --program-transform=* | --program-transfor=* \ |
| 1525 | | --program-transfo=* | --program-transf=* \ |
| 1526 | | --program-trans=* | --program-tran=* \ |
| 1527 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1528 | program_transform_name=$ac_optarg ;; |
| 1529 | |
| 1530 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1531 | ac_prev=pdfdir ;; |
| 1532 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1533 | pdfdir=$ac_optarg ;; |
| 1534 | |
| 1535 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1536 | ac_prev=psdir ;; |
| 1537 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1538 | psdir=$ac_optarg ;; |
| 1539 | |
| 1540 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1541 | | -silent | --silent | --silen | --sile | --sil) |
| 1542 | silent=yes ;; |
| 1543 | |
| 1544 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1545 | ac_prev=sbindir ;; |
| 1546 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1547 | | --sbi=* | --sb=*) |
| 1548 | sbindir=$ac_optarg ;; |
| 1549 | |
| 1550 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1551 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1552 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1553 | | --sha | --sh) |
| 1554 | ac_prev=sharedstatedir ;; |
| 1555 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1556 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1557 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1558 | | --sha=* | --sh=*) |
| 1559 | sharedstatedir=$ac_optarg ;; |
| 1560 | |
| 1561 | -site | --site | --sit) |
| 1562 | ac_prev=site ;; |
| 1563 | -site=* | --site=* | --sit=*) |
| 1564 | site=$ac_optarg ;; |
| 1565 | |
| 1566 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1567 | ac_prev=srcdir ;; |
| 1568 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1569 | srcdir=$ac_optarg ;; |
| 1570 | |
| 1571 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1572 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1573 | ac_prev=sysconfdir ;; |
| 1574 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1575 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1576 | sysconfdir=$ac_optarg ;; |
| 1577 | |
| 1578 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1579 | ac_prev=target_alias ;; |
| 1580 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1581 | target_alias=$ac_optarg ;; |
| 1582 | |
| 1583 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1584 | verbose=yes ;; |
| 1585 | |
| 1586 | -version | --version | --versio | --versi | --vers | -V) |
| 1587 | ac_init_version=: ;; |
| 1588 | |
| 1589 | -with-* | --with-*) |
| 1590 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1591 | # Reject names that are not valid shell variable names. |
| 1592 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1593 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid package name: $ac_useropt" |
| 1594 | ac_useropt_orig=$ac_useropt |
| 1595 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1596 | case $ac_user_opts in |
| 1597 | *" |
| 1598 | "with_$ac_useropt" |
| 1599 | "*) ;; |
| 1600 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1601 | ac_unrecognized_sep=', ';; |
| 1602 | esac |
| 1603 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1604 | |
| 1605 | -without-* | --without-*) |
| 1606 | ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'` |
| 1607 | # Reject names that are not valid shell variable names. |
| 1608 | exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1609 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid package name: $ac_useropt" |
| 1610 | ac_useropt_orig=$ac_useropt |
| 1611 | ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'` |
| 1612 | case $ac_user_opts in |
| 1613 | *" |
| 1614 | "with_$ac_useropt" |
| 1615 | "*) ;; |
| 1616 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1617 | ac_unrecognized_sep=', ';; |
| 1618 | esac |
| 1619 | eval with_$ac_useropt=no ;; |
| 1620 | |
| 1621 | --x) |
| 1622 | # Obsolete; use --with-x. |
| 1623 | with_x=yes ;; |
| 1624 | |
| 1625 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1626 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1627 | ac_prev=x_includes ;; |
| 1628 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1629 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1630 | x_includes=$ac_optarg ;; |
| 1631 | |
| 1632 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1633 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1634 | ac_prev=x_libraries ;; |
| 1635 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1636 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1637 | x_libraries=$ac_optarg ;; |
| 1638 | |
| 1639 | -*) as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "unrecognized option: \`$ac_option' |
| 1640 | Try \`$0 --help' for more information" |
| 1641 | ;; |
| 1642 | |
| 1643 | *=*) |
| 1644 | ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='` |
| 1645 | # Reject names that are not valid shell variable names. |
| 1646 | case $ac_envvar in #( |
| 1647 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1648 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid variable name: \`$ac_envvar'" ;; |
| 1649 | esac |
| 1650 | eval $ac_envvar=\$ac_optarg |
| 1651 | export $ac_envvar ;; |
| 1652 | |
| 1653 | *) |
| 1654 | # FIXME: should be removed in autoconf 3.0. |
| 1655 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1656 | exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. && |
| 1657 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1658 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1659 | ;; |
| 1660 | |
| 1661 | esac |
| 1662 | done |
| 1663 | |
| 1664 | if testscip-shell system . . test. -n "$ac_prev"; then |
| 1665 | ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'` |
| 1666 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "missing argument to $ac_option" |
| 1667 | fi |
| 1668 | |
| 1669 | if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then |
| 1670 | case $enable_option_checking in |
| 1671 | no) ;; |
| 1672 | fatal) as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1673 | *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1674 | esac |
| 1675 | fi |
| 1676 | |
| 1677 | # Check all directory arguments for consistency. |
| 1678 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1679 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1680 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1681 | libdir localedir mandir |
| 1682 | do |
| 1683 | eval ac_val=\$$ac_var |
| 1684 | # Remove trailing slashes. |
| 1685 | case $ac_val in |
| 1686 | */ ) |
| 1687 | ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1688 | eval $ac_var=\$ac_val;; |
| 1689 | esac |
| 1690 | # Be sure to have absolute directory names. |
| 1691 | case $ac_val in |
| 1692 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1693 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1694 | esac |
| 1695 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1696 | done |
| 1697 | |
| 1698 | # There might be people who depend on the old broken behavior: `$host' |
| 1699 | # used to hold the argument of --host etc. |
| 1700 | # FIXME: To remove some day. |
| 1701 | build=$build_alias |
| 1702 | host=$host_alias |
| 1703 | target=$target_alias |
| 1704 | |
| 1705 | # FIXME: To remove some day. |
| 1706 | if testscip-shell system . . test. "x$host_alias" != x; then |
| 1707 | if testscip-shell system . . test. "x$build_alias" = x; then |
| 1708 | cross_compiling=maybe |
| 1709 | elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then |
| 1710 | cross_compiling=yes |
| 1711 | fi |
| 1712 | fi |
| 1713 | |
| 1714 | ac_tool_prefix= |
| 1715 | testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1716 | |
| 1717 | testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 1718 | |
| 1719 | |
| 1720 | ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" && |
| 1721 | ac_ls_di=`lsscip-shell system . . ls. -di .` && |
| 1722 | ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` || |
| 1723 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "working directory cannot be determined" |
| 1724 | testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1725 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "pwd does not report name of working directory" |
| 1726 | |
| 1727 | |
| 1728 | # Find the source files, if location was not specified. |
| 1729 | if testscip-shell system . . test. -z "$srcdir"; then |
| 1730 | ac_srcdir_defaulted=yes |
| 1731 | # Try the directory containing this script, then the parent directory. |
| 1732 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1733 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1734 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1735 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1736 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. || |
| 1737 | printfscip-shell system . . printf. "%s\n" X"$as_myself" | |
| 1738 | sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1739 | s//\1/ |
| 1740 | q |
| 1741 | } |
| 1742 | /^X\(\/\/\)[^/].*/{ |
| 1743 | s//\1/ |
| 1744 | q |
| 1745 | } |
| 1746 | /^X\(\/\/\)$/{ |
| 1747 | s//\1/ |
| 1748 | q |
| 1749 | } |
| 1750 | /^X\(\/\).*/{ |
| 1751 | s//\1/ |
| 1752 | q |
| 1753 | } |
| 1754 | s/.*/./; q'` |
| 1755 | srcdir=$ac_confdir |
| 1756 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1757 | srcdir=.. |
| 1758 | fi |
| 1759 | else |
| 1760 | ac_srcdir_defaulted=no |
| 1761 | fi |
| 1762 | if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then |
| 1763 | testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1764 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1765 | fi |
| 1766 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1767 | ac_abs_confdir=`( |
| 1768 | cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "$ac_msg" |
| 1769 | pwdscip-shell system . . pwd.)` |
| 1770 | # When building in place, set srcdir=. |
| 1771 | if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then |
| 1772 | srcdir=. |
| 1773 | fi |
| 1774 | # Remove unnecessary trailing slashes from srcdir. |
| 1775 | # Double slashes in file names in object file debugging info |
| 1776 | # mess up M-x gdb in Emacs. |
| 1777 | case $srcdir in |
| 1778 | */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1779 | esac |
| 1780 | for ac_var in $ac_precious_vars; do |
| 1781 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1782 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1783 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1784 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1785 | done |
| 1786 | |
| 1787 | # |
| 1788 | # Report the --help message. |
| 1789 | # |
| 1790 | if testscip-shell system . . test. "$ac_init_help" = "long"; then |
| 1791 | # Omit some internal or obsolete options to make the list less imposing. |
| 1792 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1793 | catscip-shell system . . cat. <<_ACEOF |
| 1794 | \`configure' configures GNU cppi 1.18 to adapt to many kinds of systems. |
| 1795 | |
| 1796 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1797 | |
| 1798 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1799 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1800 | |
| 1801 | Defaults for the options are specified in brackets. |
| 1802 | |
| 1803 | Configuration: |
| 1804 | -h, --help display this help and exit |
| 1805 | --help=short display options specific to this package |
| 1806 | --help=recursive display the short help of all the included packages |
| 1807 | -V, --version display version information and exit |
| 1808 | -q, --quiet, --silent do not print \`checking ...' messages |
| 1809 | --cache-file=FILE cache test results in FILE [disabled] |
| 1810 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 1811 | -n, --no-create do not create output files |
| 1812 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1813 | |
| 1814 | Installation directories: |
| 1815 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1816 | [$ac_default_prefix] |
| 1817 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1818 | [PREFIX] |
| 1819 | |
| 1820 | By default, \`make install' will install all the files in |
| 1821 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1822 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1823 | for instance \`--prefix=\$HOME'. |
| 1824 | |
| 1825 | For better control, use the options below. |
| 1826 | |
| 1827 | Fine tuning of the installation directories: |
| 1828 | --bindir=DIR user executables [EPREFIX/bin] |
| 1829 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1830 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1831 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1832 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1833 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1834 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1835 | --includedir=DIR C header files [PREFIX/include] |
| 1836 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1837 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1838 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1839 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1840 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1841 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1842 | --docdir=DIR documentation root [DATAROOTDIR/doc/cppi] |
| 1843 | --htmldir=DIR html documentation [DOCDIR] |
| 1844 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1845 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1846 | --psdir=DIR ps documentation [DOCDIR] |
| 1847 | _ACEOF |
| 1848 | |
| 1849 | catscip-shell system . . cat. <<\_ACEOF |
| 1850 | |
| 1851 | Program names: |
| 1852 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1853 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1854 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1855 | |
| 1856 | System types: |
| 1857 | --build=BUILD configure for building on BUILD [guessed] |
| 1858 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1859 | _ACEOF |
| 1860 | fi |
| 1861 | |
| 1862 | if testscip-shell system . . test. -n "$ac_init_help"; then |
| 1863 | case $ac_init_help in |
| 1864 | short | recursive ) echoscip-shell system . . echo. "Configuration of GNU cppi 1.18:";; |
| 1865 | esac |
| 1866 | catscip-shell system . . cat. <<\_ACEOF |
| 1867 | |
| 1868 | Optional Features: |
| 1869 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1870 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1871 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1872 | --enable-silent-rules less verbose build output (undo: "make V=1") |
| 1873 | --disable-silent-rules verbose build output (undo: "make V=0") |
| 1874 | --enable-dependency-tracking |
| 1875 | do not reject slow dependency extractors |
| 1876 | --disable-dependency-tracking |
| 1877 | speeds up one-time build |
| 1878 | --enable-gcc-warnings turn on lots of GCC warnings (for developers) |
| 1879 | --disable-assert turn off assertions |
| 1880 | --disable-nls do not use Native Language Support |
| 1881 | --disable-rpath do not hardcode runtime library paths |
| 1882 | |
| 1883 | Optional Packages: |
| 1884 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1885 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1886 | --with-packager String identifying the packager of this software |
| 1887 | --with-packager-version Packager-specific version information |
| 1888 | --with-packager-bug-reports |
| 1889 | Packager info for bug reports (URL/e-mail/...) |
| 1890 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
| 1891 | --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
| 1892 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
| 1893 | --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
| 1894 | --without-libintl-prefix don't search for libintl in includedir and libdir |
| 1895 | |
| 1896 | Some influential environment variables: |
| 1897 | CC C compiler command |
| 1898 | CFLAGS C compiler flags |
| 1899 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1900 | nonstandard directory <lib dir> |
| 1901 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1902 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
| 1903 | you have headers in a nonstandard directory <include dir> |
| 1904 | CPP C preprocessor |
| 1905 | |
| 1906 | Use these variables to override the choices made by `configure' or to help |
| 1907 | it to find libraries and programs with nonstandard names/locations. |
| 1908 | |
| 1909 | Report bugs to <[email protected]>. |
| 1910 | GNU cppi home page: <http://www.gnu.org/software/cppi/>. |
| 1911 | General help using GNU software: <http://www.gnu.org/gethelp/>. |
| 1912 | _ACEOF |
| 1913 | ac_status=$? |
| 1914 | fi |
| 1915 | |
| 1916 | if testscip-shell system . . test. "$ac_init_help" = "recursive"; then |
| 1917 | # If there are subdirs, report their specific --help. |
| 1918 | for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue |
| 1919 | testscip-shell system . . test. -d "$ac_dir" || |
| 1920 | { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } || |
| 1921 | continue |
| 1922 | ac_builddir=. |
| 1923 | |
| 1924 | case "$ac_dir" in |
| 1925 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1926 | *) |
| 1927 | ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'` |
| 1928 | # A ".." for each directory in $ac_dir_suffix. |
| 1929 | ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'` |
| 1930 | case $ac_top_builddir_sub in |
| 1931 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1932 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1933 | esac ;; |
| 1934 | esac |
| 1935 | ac_abs_top_builddir=$ac_pwd |
| 1936 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1937 | # for backward compatibility: |
| 1938 | ac_top_builddir=$ac_top_build_prefix |
| 1939 | |
| 1940 | case $srcdir in |
| 1941 | .) # We are building in place. |
| 1942 | ac_srcdir=. |
| 1943 | ac_top_srcdir=$ac_top_builddir_sub |
| 1944 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1945 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1946 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1947 | ac_top_srcdir=$srcdir |
| 1948 | ac_abs_top_srcdir=$srcdir ;; |
| 1949 | *) # Relative name. |
| 1950 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1951 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1952 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1953 | esac |
| 1954 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1955 | |
| 1956 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1957 | # Check for guested configure. |
| 1958 | if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then |
| 1959 | echoscip-shell system . . echo. && |
| 1960 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1961 | elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then |
| 1962 | echoscip-shell system . . echo. && |
| 1963 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1964 | else |
| 1965 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1966 | fi || ac_status=$? |
| 1967 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1968 | done |
| 1969 | fi |
| 1970 | |
| 1971 | testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status |
| 1972 | if $ac_init_version; then |
| 1973 | catscip-shell system . . cat. <<\_ACEOF |
| 1974 | GNU cppi configure 1.18 |
| 1975 | generated by GNU Autoconf 2.69.77-845e7 |
| 1976 | |
| 1977 | Copyright (C) 2013 Free Software Foundation, Inc. |
| 1978 | This configure script is free software; the Free Software Foundation |
| 1979 | gives unlimited permission to copy, distribute and modify it. |
| 1980 | _ACEOF |
| 1981 | exit |
| 1982 | fi |
| 1983 | |
| 1984 | ## ------------------------ ## |
| 1985 | ## Autoconf initialization. ## |
| 1986 | ## ------------------------ ## |
| 1987 | |
| 1988 | # ac_fn_c_try_compile LINENO |
| 1989 | # -------------------------- |
| 1990 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1991 | ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). () |
| 1992 | { |
| 1993 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1994 | rmscip-shell system . . rm. -f conftest.$ac_objext |
| 1995 | if { { ac_try="$ac_compile" |
| 1996 | case "(($ac_try" in |
| 1997 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1998 | *) ac_try_echo=$ac_try;; |
| 1999 | esac |
| 2000 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2001 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2002 | (eval "$ac_compile") 2>conftest.err |
| 2003 | ac_status=$? |
| 2004 | if testscip-shell system . . test. -s conftest.err; then |
| 2005 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2006 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2007 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2008 | fi |
| 2009 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2010 | testscip-shell system . . test. $ac_status = 0; } && { |
| 2011 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2012 | testscip-shell system . . test. ! -s conftest.err |
| 2013 | } && testscip-shell system . . test. -s conftest.$ac_objext; then : |
| 2014 | ac_retval=0 |
| 2015 | else |
| 2016 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2017 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2018 | |
| 2019 | ac_retval=1 |
| 2020 | fi |
| 2021 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2022 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $ac_retval |
| 2023 | |
| 2024 | } # ac_fn_c_try_compile |
| 2025 | |
| 2026 | # ac_fn_c_try_cpp LINENO |
| 2027 | # ---------------------- |
| 2028 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 2029 | ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). () |
| 2030 | { |
| 2031 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2032 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 2033 | case "(($ac_try" in |
| 2034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2035 | *) ac_try_echo=$ac_try;; |
| 2036 | esac |
| 2037 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2038 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2039 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 2040 | ac_status=$? |
| 2041 | if testscip-shell system . . test. -s conftest.err; then |
| 2042 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2043 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2044 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2045 | fi |
| 2046 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2047 | testscip-shell system . . test. $ac_status = 0; } > conftest.i && { |
| 2048 | testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 2049 | testscip-shell system . . test. ! -s conftest.err |
| 2050 | }; then : |
| 2051 | ac_retval=0 |
| 2052 | else |
| 2053 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2054 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2055 | |
| 2056 | ac_retval=1 |
| 2057 | fi |
| 2058 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2059 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $ac_retval |
| 2060 | |
| 2061 | } # ac_fn_c_try_cpp |
| 2062 | |
| 2063 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 2064 | # ------------------------------------------------------- |
| 2065 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 2066 | # the include files in INCLUDES and setting the cache variable VAR |
| 2067 | # accordingly. |
| 2068 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). () |
| 2069 | { |
| 2070 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2071 | if eval \${$3+:} false; then : |
| 2072 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2073 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2074 | if eval \${$3+:} false; then : |
| 2075 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2076 | fi |
| 2077 | eval ac_res=\$$3 |
| 2078 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2079 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2080 | else |
| 2081 | # Is the header compilable? |
| 2082 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 2083 | printfscip-shell system . . printf. %s "checking $2 usability... " >&6; } |
| 2084 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2085 | /* end confdefs.h. */ |
| 2086 | $4 |
| 2087 | #include <$2> |
| 2088 | _ACEOF |
| 2089 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2090 | ac_header_compiler=yes |
| 2091 | else |
| 2092 | ac_header_compiler=no |
| 2093 | fi |
| 2094 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2095 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 2096 | printfscip-shell system . . printf. "%s\n" "$ac_header_compiler" >&6; } |
| 2097 | |
| 2098 | # Is the header present? |
| 2099 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 2100 | printfscip-shell system . . printf. %s "checking $2 presence... " >&6; } |
| 2101 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2102 | /* end confdefs.h. */ |
| 2103 | #include <$2> |
| 2104 | _ACEOF |
| 2105 | if ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). "$LINENO"; then : |
| 2106 | ac_header_preproc=yes |
| 2107 | else |
| 2108 | ac_header_preproc=no |
| 2109 | fi |
| 2110 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 2111 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 2112 | printfscip-shell system . . printf. "%s\n" "$ac_header_preproc" >&6; } |
| 2113 | |
| 2114 | # So? What about this header? |
| 2115 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 2116 | yes:no: ) |
| 2117 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 2118 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 2119 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2120 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2121 | ;; |
| 2122 | no:yes:* ) |
| 2123 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 2124 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 2125 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 2126 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 2127 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 2128 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 2129 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 2130 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 2131 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 2132 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 2133 | ( printfscip-shell system . . printf. "%s\n" "## ------------------------------- ## |
| 2134 | ## Report this to [email protected] ## |
| 2135 | ## ------------------------------- ##" |
| 2136 | ) | sedscip-shell system . . sed. "s/^/$as_me: WARNING: /" >&2 |
| 2137 | ;; |
| 2138 | esac |
| 2139 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2140 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2141 | if eval \${$3+:} false; then : |
| 2142 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2143 | else |
| 2144 | eval "$3=\$ac_header_compiler" |
| 2145 | fi |
| 2146 | eval ac_res=\$$3 |
| 2147 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2148 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2149 | fi |
| 2150 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2151 | |
| 2152 | } # ac_fn_c_check_header_mongrel |
| 2153 | |
| 2154 | # ac_fn_c_try_run LINENO |
| 2155 | # ---------------------- |
| 2156 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 2157 | # that executables *can* be run. |
| 2158 | ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). () |
| 2159 | { |
| 2160 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2161 | if { { ac_try="$ac_link" |
| 2162 | case "(($ac_try" in |
| 2163 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2164 | *) ac_try_echo=$ac_try;; |
| 2165 | esac |
| 2166 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2167 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2168 | (eval "$ac_link") 2>&5 |
| 2169 | ac_status=$? |
| 2170 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2171 | testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 2172 | { { case "(($ac_try" in |
| 2173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2174 | *) ac_try_echo=$ac_try;; |
| 2175 | esac |
| 2176 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2177 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2178 | (eval "$ac_try") 2>&5 |
| 2179 | ac_status=$? |
| 2180 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2181 | testscip-shell system . . test. $ac_status = 0; }; }; then : |
| 2182 | ac_retval=0 |
| 2183 | else |
| 2184 | printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5 |
| 2185 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2186 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2187 | |
| 2188 | ac_retval=$ac_status |
| 2189 | fi |
| 2190 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2191 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2192 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $ac_retval |
| 2193 | |
| 2194 | } # ac_fn_c_try_run |
| 2195 | |
| 2196 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 2197 | # ------------------------------------------------------- |
| 2198 | # Tests whether HEADER exists and can be compiled using the include files in |
| 2199 | # INCLUDES, setting the cache variable VAR accordingly. |
| 2200 | ac_fn_c_check_header_compilescip-shell shell cppi 1.18-6 ac_fn_c_check_header_compile(). () |
| 2201 | { |
| 2202 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2204 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2205 | if eval \${$3+:} false; then : |
| 2206 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2207 | else |
| 2208 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2209 | /* end confdefs.h. */ |
| 2210 | $4 |
| 2211 | #include <$2> |
| 2212 | _ACEOF |
| 2213 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2214 | eval "$3=yes" |
| 2215 | else |
| 2216 | eval "$3=no" |
| 2217 | fi |
| 2218 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2219 | fi |
| 2220 | eval ac_res=\$$3 |
| 2221 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2222 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2223 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2224 | |
| 2225 | } # ac_fn_c_check_header_compile |
| 2226 | |
| 2227 | # ac_fn_c_try_link LINENO |
| 2228 | # ----------------------- |
| 2229 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2230 | ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). () |
| 2231 | { |
| 2232 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2233 | rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext |
| 2234 | if { { ac_try="$ac_link" |
| 2235 | case "(($ac_try" in |
| 2236 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2237 | *) ac_try_echo=$ac_try;; |
| 2238 | esac |
| 2239 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2240 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 2241 | (eval "$ac_link") 2>conftest.err |
| 2242 | ac_status=$? |
| 2243 | if testscip-shell system . . test. -s conftest.err; then |
| 2244 | grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1 |
| 2245 | catscip-shell system . . cat. conftest.er1 >&5 |
| 2246 | mvscip-shell system . . mv. -f conftest.er1 conftest.err |
| 2247 | fi |
| 2248 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2249 | testscip-shell system . . test. $ac_status = 0; } && { |
| 2250 | testscip-shell system . . test. -z "$ac_c_werror_flag" || |
| 2251 | testscip-shell system . . test. ! -s conftest.err |
| 2252 | } && testscip-shell system . . test. -s conftest$ac_exeext && { |
| 2253 | testscip-shell system . . test. "$cross_compiling" = yes || |
| 2254 | testscip-shell system . . test. -x conftest$ac_exeext |
| 2255 | }; then : |
| 2256 | ac_retval=0 |
| 2257 | else |
| 2258 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 2259 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 2260 | |
| 2261 | ac_retval=1 |
| 2262 | fi |
| 2263 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2264 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2265 | # interfere with the next link command; also delete a directory that is |
| 2266 | # left behind by Apple's compiler. We do this before executing the actions. |
| 2267 | rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2268 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2269 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $ac_retval |
| 2270 | |
| 2271 | } # ac_fn_c_try_link |
| 2272 | |
| 2273 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
| 2274 | # ------------------------------------------- |
| 2275 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
| 2276 | # variable VAR accordingly. |
| 2277 | ac_fn_c_check_typescip-shell shell cppi 1.18-6 ac_fn_c_check_type(). () |
| 2278 | { |
| 2279 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2280 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2281 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2282 | if eval \${$3+:} false; then : |
| 2283 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2284 | else |
| 2285 | eval "$3=no" |
| 2286 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2287 | /* end confdefs.h. */ |
| 2288 | $4 |
| 2289 | int |
| 2290 | main () |
| 2291 | { |
| 2292 | if (sizeof ($2)) |
| 2293 | return 0; |
| 2294 | ; |
| 2295 | return 0; |
| 2296 | } |
| 2297 | _ACEOF |
| 2298 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2299 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2300 | /* end confdefs.h. */ |
| 2301 | $4 |
| 2302 | int |
| 2303 | main () |
| 2304 | { |
| 2305 | if (sizeof (($2))) |
| 2306 | return 0; |
| 2307 | ; |
| 2308 | return 0; |
| 2309 | } |
| 2310 | _ACEOF |
| 2311 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2312 | |
| 2313 | else |
| 2314 | eval "$3=yes" |
| 2315 | fi |
| 2316 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2317 | fi |
| 2318 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2319 | fi |
| 2320 | eval ac_res=\$$3 |
| 2321 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2322 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2323 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2324 | |
| 2325 | } # ac_fn_c_check_type |
| 2326 | |
| 2327 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
| 2328 | # -------------------------------------------- |
| 2329 | # Tries to find the compile-time value of EXPR in a program that includes |
| 2330 | # INCLUDES, setting VAR accordingly. Returns whether the value could be |
| 2331 | # computed |
| 2332 | ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). () |
| 2333 | { |
| 2334 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2335 | if testscip-shell system . . test. "$cross_compiling" = yes; then |
| 2336 | # Depending upon the size, compute the lo and hi bounds. |
| 2337 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2338 | /* end confdefs.h. */ |
| 2339 | $4 |
| 2340 | int |
| 2341 | main () |
| 2342 | { |
| 2343 | static int test_array [1 - 2 * !(($2) >= 0)]; |
| 2344 | test_array [0] = 0; |
| 2345 | return test_array [0]; |
| 2346 | |
| 2347 | ; |
| 2348 | return 0; |
| 2349 | } |
| 2350 | _ACEOF |
| 2351 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2352 | ac_lo=0 ac_mid=0 |
| 2353 | while :; do |
| 2354 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2355 | /* end confdefs.h. */ |
| 2356 | $4 |
| 2357 | int |
| 2358 | main () |
| 2359 | { |
| 2360 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2361 | test_array [0] = 0; |
| 2362 | return test_array [0]; |
| 2363 | |
| 2364 | ; |
| 2365 | return 0; |
| 2366 | } |
| 2367 | _ACEOF |
| 2368 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2369 | ac_hi=$ac_mid; break |
| 2370 | else |
| 2371 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). $ac_mid + 1 && ac_lo=$as_val |
| 2372 | if testscip-shell system . . test. $ac_lo -le $ac_mid; then |
| 2373 | ac_lo= ac_hi= |
| 2374 | break |
| 2375 | fi |
| 2376 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). 2 '*' $ac_mid + 1 && ac_mid=$as_val |
| 2377 | fi |
| 2378 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2379 | done |
| 2380 | else |
| 2381 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2382 | /* end confdefs.h. */ |
| 2383 | $4 |
| 2384 | int |
| 2385 | main () |
| 2386 | { |
| 2387 | static int test_array [1 - 2 * !(($2) < 0)]; |
| 2388 | test_array [0] = 0; |
| 2389 | return test_array [0]; |
| 2390 | |
| 2391 | ; |
| 2392 | return 0; |
| 2393 | } |
| 2394 | _ACEOF |
| 2395 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2396 | ac_hi=-1 ac_mid=-1 |
| 2397 | while :; do |
| 2398 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2399 | /* end confdefs.h. */ |
| 2400 | $4 |
| 2401 | int |
| 2402 | main () |
| 2403 | { |
| 2404 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
| 2405 | test_array [0] = 0; |
| 2406 | return test_array [0]; |
| 2407 | |
| 2408 | ; |
| 2409 | return 0; |
| 2410 | } |
| 2411 | _ACEOF |
| 2412 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2413 | ac_lo=$ac_mid; break |
| 2414 | else |
| 2415 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). '(' $ac_mid ')' - 1 && ac_hi=$as_val |
| 2416 | if testscip-shell system . . test. $ac_mid -le $ac_hi; then |
| 2417 | ac_lo= ac_hi= |
| 2418 | break |
| 2419 | fi |
| 2420 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). 2 '*' $ac_mid && ac_mid=$as_val |
| 2421 | fi |
| 2422 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2423 | done |
| 2424 | else |
| 2425 | ac_lo= ac_hi= |
| 2426 | fi |
| 2427 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2428 | fi |
| 2429 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2430 | # Binary search between lo and hi bounds. |
| 2431 | while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do |
| 2432 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo && ac_mid=$as_val |
| 2433 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2434 | /* end confdefs.h. */ |
| 2435 | $4 |
| 2436 | int |
| 2437 | main () |
| 2438 | { |
| 2439 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
| 2440 | test_array [0] = 0; |
| 2441 | return test_array [0]; |
| 2442 | |
| 2443 | ; |
| 2444 | return 0; |
| 2445 | } |
| 2446 | _ACEOF |
| 2447 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2448 | ac_hi=$ac_mid |
| 2449 | else |
| 2450 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). '(' $ac_mid ')' + 1 && ac_lo=$as_val |
| 2451 | fi |
| 2452 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2453 | done |
| 2454 | case $ac_lo in #(( |
| 2455 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
| 2456 | '') ac_retval=1 ;; |
| 2457 | esac |
| 2458 | else |
| 2459 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2460 | /* end confdefs.h. */ |
| 2461 | $4 |
| 2462 | static long int longval () { return $2; } |
| 2463 | static unsigned long int ulongval () { return $2; } |
| 2464 | #include <stdio.h> |
| 2465 | #include <stdlib.h> |
| 2466 | int |
| 2467 | main () |
| 2468 | { |
| 2469 | |
| 2470 | FILE *f = fopen ("conftest.val", "w"); |
| 2471 | if (! f) |
| 2472 | return 1; |
| 2473 | if (($2) < 0) |
| 2474 | { |
| 2475 | long int i = longval (); |
| 2476 | if (i != ($2)) |
| 2477 | return 1; |
| 2478 | fprintf (f, "%ld", i); |
| 2479 | } |
| 2480 | else |
| 2481 | { |
| 2482 | unsigned long int i = ulongval (); |
| 2483 | if (i != ($2)) |
| 2484 | return 1; |
| 2485 | fprintf (f, "%lu", i); |
| 2486 | } |
| 2487 | /* Do not output a trailing newline, as this causes \r\n confusion |
| 2488 | on some platforms. */ |
| 2489 | return ferror (f) || fclose (f) != 0; |
| 2490 | |
| 2491 | ; |
| 2492 | return 0; |
| 2493 | } |
| 2494 | _ACEOF |
| 2495 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 2496 | echoscip-shell system . . echo. >>conftest.val; read $3 <conftest.val; ac_retval=0 |
| 2497 | else |
| 2498 | ac_retval=1 |
| 2499 | fi |
| 2500 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 2501 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 2502 | rmscip-shell system . . rm. -f conftest.val |
| 2503 | |
| 2504 | fi |
| 2505 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2506 | as_fn_set_statusscip-shell shell cppi 1.18-6 as_fn_set_status(). $ac_retval |
| 2507 | |
| 2508 | } # ac_fn_c_compute_int |
| 2509 | |
| 2510 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES |
| 2511 | # --------------------------------------------- |
| 2512 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR |
| 2513 | # accordingly. |
| 2514 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). () |
| 2515 | { |
| 2516 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2517 | as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'` |
| 2518 | as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 2519 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 2520 | printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; } |
| 2521 | if eval \${$3+:} false; then : |
| 2522 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2523 | else |
| 2524 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2525 | /* end confdefs.h. */ |
| 2526 | $4 |
| 2527 | int |
| 2528 | main () |
| 2529 | { |
| 2530 | #ifndef $as_decl_name |
| 2531 | #ifdef __cplusplus |
| 2532 | (void) $as_decl_use; |
| 2533 | #else |
| 2534 | (void) $as_decl_name; |
| 2535 | #endif |
| 2536 | #endif |
| 2537 | |
| 2538 | ; |
| 2539 | return 0; |
| 2540 | } |
| 2541 | _ACEOF |
| 2542 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 2543 | eval "$3=yes" |
| 2544 | else |
| 2545 | eval "$3=no" |
| 2546 | fi |
| 2547 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2548 | fi |
| 2549 | eval ac_res=\$$3 |
| 2550 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2551 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2552 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2553 | |
| 2554 | } # ac_fn_c_check_decl |
| 2555 | |
| 2556 | # ac_fn_c_check_func LINENO FUNC VAR |
| 2557 | # ---------------------------------- |
| 2558 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2559 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). () |
| 2560 | { |
| 2561 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2563 | printfscip-shell system . . printf. %s "checking for $2... " >&6; } |
| 2564 | if eval \${$3+:} false; then : |
| 2565 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 2566 | else |
| 2567 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2568 | /* end confdefs.h. */ |
| 2569 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2570 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2571 | #define $2 innocuous_$2 |
| 2572 | |
| 2573 | /* System header to define __stub macros and hopefully few prototypes, |
| 2574 | which can conflict with char $2 (); below. */ |
| 2575 | |
| 2576 | #include <limits.h> |
| 2577 | #undef $2 |
| 2578 | |
| 2579 | /* Override any GCC internal prototype to avoid an error. |
| 2580 | Use char because int might match the return type of a GCC |
| 2581 | builtin and then its argument prototype would still apply. */ |
| 2582 | #ifdef __cplusplus |
| 2583 | extern "C" |
| 2584 | #endif |
| 2585 | char $2 (); |
| 2586 | /* The GNU C library defines this for functions which it implements |
| 2587 | to always fail with ENOSYS. Some functions are actually named |
| 2588 | something starting with __ and the normal name is an alias. */ |
| 2589 | #if defined __stub_$2 || defined __stub___$2 |
| 2590 | choke me |
| 2591 | #endif |
| 2592 | |
| 2593 | int |
| 2594 | main () |
| 2595 | { |
| 2596 | return $2 (); |
| 2597 | ; |
| 2598 | return 0; |
| 2599 | } |
| 2600 | _ACEOF |
| 2601 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 2602 | eval "$3=yes" |
| 2603 | else |
| 2604 | eval "$3=no" |
| 2605 | fi |
| 2606 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 2607 | conftest$ac_exeext conftest.$ac_ext |
| 2608 | fi |
| 2609 | eval ac_res=\$$3 |
| 2610 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2611 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 2612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 2613 | |
| 2614 | } # ac_fn_c_check_func |
| 2615 | catscip-shell system . . cat. >config.log <<_ACEOF |
| 2616 | This file contains any messages produced by compilers while |
| 2617 | running configure, to aid debugging if configure makes a mistake. |
| 2618 | |
| 2619 | It was created by GNU cppi $as_me 1.18, which was |
| 2620 | generated by GNU Autoconf 2.69.77-845e7. Invocation command line was |
| 2621 | |
| 2622 | $ $0 $@ |
| 2623 | |
| 2624 | _ACEOF |
| 2625 | exec 5>>config.log |
| 2626 | { |
| 2627 | catscip-shell system . . cat. <<_ASUNAME |
| 2628 | ## --------- ## |
| 2629 | ## Platform. ## |
| 2630 | ## --------- ## |
| 2631 | |
| 2632 | hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q` |
| 2633 | uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2634 | uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2635 | uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2636 | uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2637 | |
| 2638 | /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2639 | /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2640 | |
| 2641 | /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2642 | /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2643 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2644 | /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2645 | /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2646 | /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2647 | /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown` |
| 2648 | |
| 2649 | _ASUNAME |
| 2650 | |
| 2651 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2652 | for as_dir in $PATH |
| 2653 | do |
| 2654 | IFS=$as_save_IFS |
| 2655 | case $as_dir in #((( |
| 2656 | '') as_dir=./ ;; |
| 2657 | */) ;; |
| 2658 | *) as_dir=$as_dir/ ;; |
| 2659 | esac |
| 2660 | printfscip-shell system . . printf. "%s\n" "PATH: $as_dir" |
| 2661 | done |
| 2662 | IFS=$as_save_IFS |
| 2663 | |
| 2664 | } >&5 |
| 2665 | |
| 2666 | catscip-shell system . . cat. >&5 <<_ACEOF |
| 2667 | |
| 2668 | |
| 2669 | ## ----------- ## |
| 2670 | ## Core tests. ## |
| 2671 | ## ----------- ## |
| 2672 | |
| 2673 | _ACEOF |
| 2674 | |
| 2675 | |
| 2676 | # Keep a trace of the command line. |
| 2677 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 2678 | # Strip out --silent because we don't want to record it for future runs. |
| 2679 | # Also quote any args containing shell meta-characters. |
| 2680 | # Make two passes to allow for proper duplicate-argument suppression. |
| 2681 | ac_configure_args= |
| 2682 | ac_configure_args0= |
| 2683 | ac_configure_args1= |
| 2684 | ac_must_keep_next=false |
| 2685 | for ac_pass in 1 2 |
| 2686 | do |
| 2687 | for ac_arg |
| 2688 | do |
| 2689 | case $ac_arg in |
| 2690 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 2691 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 2692 | | -silent | --silent | --silen | --sile | --sil) |
| 2693 | continue ;; |
| 2694 | *\'*) |
| 2695 | ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 2696 | esac |
| 2697 | case $ac_pass in |
| 2698 | 1) as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;; |
| 2699 | 2) |
| 2700 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_configure_args1 " '$ac_arg'" |
| 2701 | if testscip-shell system . . test. $ac_must_keep_next = true; then |
| 2702 | ac_must_keep_next=false # Got value, back to normal. |
| 2703 | else |
| 2704 | case $ac_arg in |
| 2705 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 2706 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 2707 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 2708 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 2709 | case "$ac_configure_args0 " in |
| 2710 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 2711 | esac |
| 2712 | ;; |
| 2713 | -* ) ac_must_keep_next=true ;; |
| 2714 | esac |
| 2715 | fi |
| 2716 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_configure_args " '$ac_arg'" |
| 2717 | ;; |
| 2718 | esac |
| 2719 | done |
| 2720 | done |
| 2721 | { ac_configure_args0=; unset ac_configure_args0;} |
| 2722 | { ac_configure_args1=; unset ac_configure_args1;} |
| 2723 | |
| 2724 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2725 | # config.log. We remove comments because anyway the quotes in there |
| 2726 | # would cause problems or look ugly. |
| 2727 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2728 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2729 | trap 'exit_status=$? |
| 2730 | # Sanitize IFS. |
| 2731 | IFS=" "" $as_nl" |
| 2732 | # Save into config.log some information that might help in debugging. |
| 2733 | { |
| 2734 | echo |
| 2735 | |
| 2736 | printf "%s\n" "## ---------------- ## |
| 2737 | ## Cache variables. ## |
| 2738 | ## ---------------- ##" |
| 2739 | echo |
| 2740 | # The following way of writing the cache mishandles newlines in values, |
| 2741 | ( |
| 2742 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2743 | eval ac_val=\$$ac_var |
| 2744 | case $ac_val in #( |
| 2745 | *${as_nl}*) |
| 2746 | case $ac_var in #( |
| 2747 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2748 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2749 | esac |
| 2750 | case $ac_var in #( |
| 2751 | _ | IFS | as_nl) ;; #( |
| 2752 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2753 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 2754 | esac ;; |
| 2755 | esac |
| 2756 | done |
| 2757 | (set) 2>&1 | |
| 2758 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2759 | *${as_nl}ac_space=\ *) |
| 2760 | sed -n \ |
| 2761 | "s/'\''/'\''\\\\'\'''\''/g; |
| 2762 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2763 | ;; #( |
| 2764 | *) |
| 2765 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2766 | ;; |
| 2767 | esac | |
| 2768 | sort |
| 2769 | ) |
| 2770 | echo |
| 2771 | |
| 2772 | printf "%s\n" "## ----------------- ## |
| 2773 | ## Output variables. ## |
| 2774 | ## ----------------- ##" |
| 2775 | echo |
| 2776 | for ac_var in $ac_subst_vars |
| 2777 | do |
| 2778 | eval ac_val=\$$ac_var |
| 2779 | case $ac_val in |
| 2780 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2781 | esac |
| 2782 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2783 | done | sort |
| 2784 | echo |
| 2785 | |
| 2786 | if test -n "$ac_subst_files"; then |
| 2787 | printf "%s\n" "## ------------------- ## |
| 2788 | ## File substitutions. ## |
| 2789 | ## ------------------- ##" |
| 2790 | echo |
| 2791 | for ac_var in $ac_subst_files |
| 2792 | do |
| 2793 | eval ac_val=\$$ac_var |
| 2794 | case $ac_val in |
| 2795 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2796 | esac |
| 2797 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 2798 | done | sort |
| 2799 | echo |
| 2800 | fi |
| 2801 | |
| 2802 | if test -s confdefs.h; then |
| 2803 | printf "%s\n" "## ----------- ## |
| 2804 | ## confdefs.h. ## |
| 2805 | ## ----------- ##" |
| 2806 | echo |
| 2807 | cat confdefs.h |
| 2808 | echo |
| 2809 | fi |
| 2810 | test "$ac_signal" != 0 && |
| 2811 | printf "%s\n" "$as_me: caught signal $ac_signal" |
| 2812 | printf "%s\n" "$as_me: exit $exit_status" |
| 2813 | } >&5 |
| 2814 | rm -f core *.core core.conftest.* && |
| 2815 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2816 | exit $exit_status |
| 2817 | ' 0 |
| 2818 | for ac_signal in 1 2 13 15; do |
| 2819 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2820 | done |
| 2821 | ac_signal=0 |
| 2822 | |
| 2823 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2824 | rmscip-shell system . . rm. -f -r conftest* confdefs.h |
| 2825 | |
| 2826 | printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h |
| 2827 | |
| 2828 | # Predefined preprocessor variables. |
| 2829 | |
| 2830 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2831 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2832 | _ACEOF |
| 2833 | |
| 2834 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2835 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2836 | _ACEOF |
| 2837 | |
| 2838 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2839 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2840 | _ACEOF |
| 2841 | |
| 2842 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2843 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2844 | _ACEOF |
| 2845 | |
| 2846 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2847 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2848 | _ACEOF |
| 2849 | |
| 2850 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 2851 | #define PACKAGE_URL "$PACKAGE_URL" |
| 2852 | _ACEOF |
| 2853 | |
| 2854 | |
| 2855 | # Let the site file select an alternate cache file if it wants to. |
| 2856 | # Prefer an explicitly selected file to automatically selected ones. |
| 2857 | ac_site_file1=NONE |
| 2858 | ac_site_file2=NONE |
| 2859 | if testscip-shell system . . test. -n "$CONFIG_SITE"; then |
| 2860 | # We do not want a PATH search for config.site. |
| 2861 | case $CONFIG_SITE in #(( |
| 2862 | -*) ac_site_file1=./$CONFIG_SITE;; |
| 2863 | */*) ac_site_file1=$CONFIG_SITE;; |
| 2864 | *) ac_site_file1=./$CONFIG_SITE;; |
| 2865 | esac |
| 2866 | elif testscip-shell system . . test. "x$prefix" != xNONE; then |
| 2867 | ac_site_file1=$prefix/share/config.site |
| 2868 | ac_site_file2=$prefix/etc/config.site |
| 2869 | else |
| 2870 | ac_site_file1=$ac_default_prefix/share/config.site |
| 2871 | ac_site_file2=$ac_default_prefix/etc/config.site |
| 2872 | fi |
| 2873 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 2874 | do |
| 2875 | testscip-shell system . . test. "x$ac_site_file" = xNONE && continue |
| 2876 | if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then |
| 2877 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 2878 | printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
| 2879 | sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5 |
| 2880 | . "$ac_site_file" \ |
| 2881 | || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2882 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2883 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "failed to load site script $ac_site_file |
| 2884 | See \`config.log' for more details" "$LINENO" 5; } |
| 2885 | fi |
| 2886 | done |
| 2887 | |
| 2888 | if testscip-shell system . . test. -r "$cache_file"; then |
| 2889 | # Some versions of bash will fail to source /dev/null (special files |
| 2890 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 2891 | if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then |
| 2892 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 2893 | printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;} |
| 2894 | case $cache_file in |
| 2895 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 2896 | *) . "./$cache_file";; |
| 2897 | esac |
| 2898 | fi |
| 2899 | else |
| 2900 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 2901 | printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;} |
| 2902 | >$cache_file |
| 2903 | fi |
| 2904 | |
| 2905 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " stdio_ext.h" |
| 2906 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " __fpending" |
| 2907 | gl_getopt_required=GNU |
| 2908 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " getopt.h" |
| 2909 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " wchar.h" |
| 2910 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " stdint.h" |
| 2911 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " inttypes.h" |
| 2912 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " unistd.h" |
| 2913 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " symlink" |
| 2914 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " mbsinit" |
| 2915 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " mbrtowc" |
| 2916 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " _set_invalid_parameter_handler" |
| 2917 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " sys/socket.h" |
| 2918 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " sys/time.h" |
| 2919 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " features.h" |
| 2920 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_func_list " iswcntrl" |
| 2921 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_header_list " wctype.h" |
| 2922 | gt_needs="$gt_needs " |
| 2923 | # Check that the precious variables saved in the cache have kept the same |
| 2924 | # value. |
| 2925 | ac_cache_corrupted=false |
| 2926 | for ac_var in $ac_precious_vars; do |
| 2927 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 2928 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 2929 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 2930 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 2931 | case $ac_old_set,$ac_new_set in |
| 2932 | set,) |
| 2933 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 2934 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 2935 | ac_cache_corrupted=: ;; |
| 2936 | ,set) |
| 2937 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 2938 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 2939 | ac_cache_corrupted=: ;; |
| 2940 | ,);; |
| 2941 | *) |
| 2942 | if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then |
| 2943 | # differences in whitespace do not lead to failure. |
| 2944 | ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val` |
| 2945 | ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val` |
| 2946 | if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then |
| 2947 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 2948 | printfscip-shell system . . printf. "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 2949 | ac_cache_corrupted=: |
| 2950 | else |
| 2951 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 2952 | printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 2953 | eval $ac_var=\$ac_old_val |
| 2954 | fi |
| 2955 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 2956 | printfscip-shell system . . printf. "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
| 2957 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 2958 | printfscip-shell system . . printf. "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
| 2959 | fi;; |
| 2960 | esac |
| 2961 | # Pass precious variables to config.status. |
| 2962 | if testscip-shell system . . test. "$ac_new_set" = set; then |
| 2963 | case $ac_new_val in |
| 2964 | *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;; |
| 2965 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 2966 | esac |
| 2967 | case " $ac_configure_args " in |
| 2968 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 2969 | *) as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_configure_args " '$ac_arg'" ;; |
| 2970 | esac |
| 2971 | fi |
| 2972 | done |
| 2973 | if $ac_cache_corrupted; then |
| 2974 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 2975 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 2976 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 2977 | printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 2978 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 2979 | fi |
| 2980 | ## -------------------- ## |
| 2981 | ## Main body of script. ## |
| 2982 | ## -------------------- ## |
| 2983 | |
| 2984 | ac_ext=c |
| 2985 | ac_cpp='$CPP $CPPFLAGS' |
| 2986 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2987 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2988 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2989 | |
| 2990 | |
| 2991 | |
| 2992 | |
| 2993 | ac_aux_dir= |
| 2994 | for ac_dir in build-aux "$srcdir"/build-aux; do |
| 2995 | if testscip-shell system . . test. -f "$ac_dir/install-sh"; then |
| 2996 | ac_aux_dir=$ac_dir |
| 2997 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 2998 | break |
| 2999 | elif testscip-shell system . . test. -f "$ac_dir/install.sh"; then |
| 3000 | ac_aux_dir=$ac_dir |
| 3001 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 3002 | break |
| 3003 | elif testscip-shell system . . test. -f "$ac_dir/shtool"; then |
| 3004 | ac_aux_dir=$ac_dir |
| 3005 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| 3006 | break |
| 3007 | fi |
| 3008 | done |
| 3009 | if testscip-shell system . . test. -z "$ac_aux_dir"; then |
| 3010 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 |
| 3011 | fi |
| 3012 | |
| 3013 | # These three variables are undocumented and unsupported, |
| 3014 | # and are intended to be withdrawn in a future Autoconf release. |
| 3015 | # They can cause serious problems if a builder's source tree is in a directory |
| 3016 | # whose full name contains unusual characters. |
| 3017 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 3018 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 3019 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 3020 | |
| 3021 | |
| 3022 | ac_config_headers="$ac_config_headers lib/config.h:config.hin" |
| 3023 | |
| 3024 | |
| 3025 | am__api_version='1.13a' |
| 3026 | |
| 3027 | # Find a good install program. We prefer a C program (faster), |
| 3028 | # so one script is as good as another. But avoid the broken or |
| 3029 | # incompatible versions: |
| 3030 | # SysV /etc/install, /usr/sbin/install |
| 3031 | # SunOS /usr/etc/install |
| 3032 | # IRIX /sbin/install |
| 3033 | # AIX /bin/install |
| 3034 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 3035 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3036 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3037 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3038 | # OS/2's system install, which has a completely different semantic |
| 3039 | # ./install, which can be erroneously created by make from ./install.sh. |
| 3040 | # Reject install programs that cannot install multiple files. |
| 3041 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 3042 | printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; } |
| 3043 | if testscip-shell system . . test. -z "$INSTALL"; then |
| 3044 | if ${ac_cv_path_install+:} false; then : |
| 3045 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3046 | else |
| 3047 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3048 | for as_dir in $PATH |
| 3049 | do |
| 3050 | IFS=$as_save_IFS |
| 3051 | case $as_dir in #((( |
| 3052 | '') as_dir=./ ;; |
| 3053 | */) ;; |
| 3054 | *) as_dir=$as_dir/ ;; |
| 3055 | esac |
| 3056 | # Account for fact that we put trailing slashes in our PATH walk. |
| 3057 | case $as_dir in #(( |
| 3058 | ./ | /[cC]/* | \ |
| 3059 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 3060 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 3061 | /usr/ucb/* ) ;; |
| 3062 | *) |
| 3063 | # OSF1 and SCO ODT 3.0 have their own names for install. |
| 3064 | # Don't use installbsd from OSF since it installs stuff as root |
| 3065 | # by default. |
| 3066 | for ac_prog in ginstall scoinst install; do |
| 3067 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3068 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then |
| 3069 | if testscip-shell system . . test. $ac_prog = install && |
| 3070 | grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3071 | # AIX install. It has an incompatible calling convention. |
| 3072 | : |
| 3073 | elif testscip-shell system . . test. $ac_prog = install && |
| 3074 | grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3075 | # program-specific install script used by HP pwplus--don't use. |
| 3076 | : |
| 3077 | else |
| 3078 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3079 | echoscip-shell system . . echo. one > conftest.one |
| 3080 | echoscip-shell system . . echo. two > conftest.two |
| 3081 | mkdirscip-shell system . . mkdir. conftest.dir |
| 3082 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir" && |
| 3083 | testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two && |
| 3084 | testscip-shell system . . test. -s conftest.dir/conftest.one && |
| 3085 | testscip-shell system . . test. -s conftest.dir/conftest.two |
| 3086 | then |
| 3087 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 3088 | break 3 |
| 3089 | fi |
| 3090 | fi |
| 3091 | fi |
| 3092 | done |
| 3093 | done |
| 3094 | ;; |
| 3095 | esac |
| 3096 | |
| 3097 | done |
| 3098 | IFS=$as_save_IFS |
| 3099 | |
| 3100 | rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir |
| 3101 | |
| 3102 | fi |
| 3103 | if testscip-shell system . . test. "${ac_cv_path_install+set}" = set; then |
| 3104 | INSTALL=$ac_cv_path_install |
| 3105 | else |
| 3106 | # As a last resort, use the slow shell script. Don't cache a |
| 3107 | # value for INSTALL within a source directory, because that will |
| 3108 | # break other packages using the cache if that directory is |
| 3109 | # removed, or if the value is a relative name. |
| 3110 | INSTALL=$ac_install_sh |
| 3111 | fi |
| 3112 | fi |
| 3113 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 3114 | printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; } |
| 3115 | |
| 3116 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 3117 | # It thinks the first close brace ends the variable substitution. |
| 3118 | testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 3119 | |
| 3120 | testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 3121 | |
| 3122 | testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 3123 | |
| 3124 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 3125 | printfscip-shell system . . printf. %s "checking whether build environment is sane... " >&6; } |
| 3126 | # Reject unsafe characters in $srcdir or the absolute working directory |
| 3127 | # name. Accept space and tab only in the latter. |
| 3128 | am_lf=' |
| 3129 | ' |
| 3130 | case `pwdscip-shell system . . pwd.` in |
| 3131 | *[\\\"\#\$\&\'\`$am_lf]*) |
| 3132 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 3133 | esac |
| 3134 | case $srcdir in |
| 3135 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 3136 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 3137 | esac |
| 3138 | |
| 3139 | # Do 'set' in a subshell so we don't clobber the current shell's |
| 3140 | # arguments. Must try -L first in case configure is actually a |
| 3141 | # symlink; some systems play weird games with the mod time of symlinks |
| 3142 | # (eg FreeBSD returns the mod time of the symlink's containing |
| 3143 | # directory). |
| 3144 | if ( |
| 3145 | am_has_slept=no |
| 3146 | for am_try in 1 2; do |
| 3147 | echoscip-shell system . . echo. "timestamp, slept: $am_has_slept" > conftest.file |
| 3148 | set X `lsscip-shell system . . ls. -Lt "$srcdir/configure" conftest.file 2> /dev/nullscip-shell filesystem . . `/dev/null`.` |
| 3149 | if testscip-shell system . . test. "$*" = "X"; then |
| 3150 | # -L didn't work. |
| 3151 | set X `lsscip-shell system . . ls. -t "$srcdir/configure" conftest.file` |
| 3152 | fi |
| 3153 | if testscip-shell system . . test. "$*" != "X $srcdir/configure conftest.file" \ |
| 3154 | && testscip-shell system . . test. "$*" != "X conftest.file $srcdir/configure"; then |
| 3155 | |
| 3156 | # If neither matched, then we have a broken ls. This can happen |
| 3157 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 3158 | # broken ls alias from the environment. This has actually |
| 3159 | # happened. Such a system could not be considered "sane". |
| 3160 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "ls -t appears to fail. Make sure there is not a broken |
| 3161 | alias in your environment" "$LINENO" 5 |
| 3162 | fi |
| 3163 | if testscip-shell system . . test. "$2" = conftest.file || testscip-shell system . . test. $am_try -eq 2; then |
| 3164 | break |
| 3165 | fi |
| 3166 | # Just in case. |
| 3167 | sleepscip-shell system . . sleep. 1 |
| 3168 | am_has_slept=yes |
| 3169 | done |
| 3170 | testscip-shell system . . test. "$2" = conftest.file |
| 3171 | ) |
| 3172 | then |
| 3173 | # Ok. |
| 3174 | : |
| 3175 | else |
| 3176 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "newly created file is older than distributed files! |
| 3177 | Check your system clock" "$LINENO" 5 |
| 3178 | fi |
| 3179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3180 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 3181 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 3182 | # generated files are strictly newer. |
| 3183 | am_sleep_pid= |
| 3184 | if grepscip-shell system . . grep. 'slept: no' conftest.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3185 | ( sleepscip-shell system . . sleep. 1 ) & |
| 3186 | am_sleep_pid=$! |
| 3187 | fi |
| 3188 | |
| 3189 | rmscip-shell system . . rm. -f conftest.file |
| 3190 | |
| 3191 | testscip-shell system . . test. "$program_prefix" != NONE && |
| 3192 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 3193 | # Use a double $ so make ignores it. |
| 3194 | testscip-shell system . . test. "$program_suffix" != NONE && |
| 3195 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 3196 | # Double any \ or $. |
| 3197 | # By default was `s,x,x', remove it if useless. |
| 3198 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 3199 | program_transform_name=`printfscip-shell system . . printf. "%s\n" "$program_transform_name" | sedscip-shell system . . sed. "$ac_script"` |
| 3200 | |
| 3201 | # expand $ac_aux_dir to an absolute path |
| 3202 | am_aux_dir=`cd $ac_aux_dir && pwdscip-shell system . . pwd.` |
| 3203 | |
| 3204 | if testscip-shell system . . test. x"${MISSING+set}" != xset; then |
| 3205 | case $am_aux_dir in |
| 3206 | *\ * | *\ *) |
| 3207 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 3208 | *) |
| 3209 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 3210 | esac |
| 3211 | fi |
| 3212 | # Use eval to expand $SHELL |
| 3213 | if eval "$MISSING --is-lightweight"; then |
| 3214 | am_missing_run="$MISSING " |
| 3215 | else |
| 3216 | am_missing_run= |
| 3217 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 3218 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 3219 | fi |
| 3220 | |
| 3221 | if testscip-shell system . . test. x"${install_sh}" != xset; then |
| 3222 | case $am_aux_dir in |
| 3223 | *\ * | *\ *) |
| 3224 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 3225 | *) |
| 3226 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 3227 | esac |
| 3228 | fi |
| 3229 | |
| 3230 | # Installed binaries are usually stripped using 'strip' when the user |
| 3231 | # run "make install-strip". However 'strip' might not be the right |
| 3232 | # tool to use in cross-compilation environments, therefore Automake |
| 3233 | # will honor the 'STRIP' environment variable to overrule this program. |
| 3234 | if testscip-shell system . . test. "$cross_compiling" != no; then |
| 3235 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3236 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 3237 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 3238 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3239 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3240 | if ${ac_cv_prog_STRIP+:} false; then : |
| 3241 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3242 | else |
| 3243 | if testscip-shell system . . test. -n "$STRIP"; then |
| 3244 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 3245 | else |
| 3246 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3247 | for as_dir in $PATH |
| 3248 | do |
| 3249 | IFS=$as_save_IFS |
| 3250 | case $as_dir in #((( |
| 3251 | '') as_dir=./ ;; |
| 3252 | */) ;; |
| 3253 | *) as_dir=$as_dir/ ;; |
| 3254 | esac |
| 3255 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3256 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3257 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 3258 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3259 | break 2 |
| 3260 | fi |
| 3261 | done |
| 3262 | done |
| 3263 | IFS=$as_save_IFS |
| 3264 | |
| 3265 | fi |
| 3266 | fi |
| 3267 | STRIP=$ac_cv_prog_STRIP |
| 3268 | if testscip-shell system . . test. -n "$STRIP"; then |
| 3269 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 3270 | printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; } |
| 3271 | else |
| 3272 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3273 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3274 | fi |
| 3275 | |
| 3276 | |
| 3277 | fi |
| 3278 | if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then |
| 3279 | ac_ct_STRIP=$STRIP |
| 3280 | # Extract the first word of "strip", so it can be a program name with args. |
| 3281 | set dummy strip; ac_word=$2 |
| 3282 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3283 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3284 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 3285 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3286 | else |
| 3287 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 3288 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 3289 | else |
| 3290 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3291 | for as_dir in $PATH |
| 3292 | do |
| 3293 | IFS=$as_save_IFS |
| 3294 | case $as_dir in #((( |
| 3295 | '') as_dir=./ ;; |
| 3296 | */) ;; |
| 3297 | *) as_dir=$as_dir/ ;; |
| 3298 | esac |
| 3299 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3300 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3301 | ac_cv_prog_ac_ct_STRIP="strip" |
| 3302 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3303 | break 2 |
| 3304 | fi |
| 3305 | done |
| 3306 | done |
| 3307 | IFS=$as_save_IFS |
| 3308 | |
| 3309 | fi |
| 3310 | fi |
| 3311 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 3312 | if testscip-shell system . . test. -n "$ac_ct_STRIP"; then |
| 3313 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 3314 | printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; } |
| 3315 | else |
| 3316 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3317 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3318 | fi |
| 3319 | |
| 3320 | if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then |
| 3321 | STRIP=":" |
| 3322 | else |
| 3323 | case $cross_compiling:$ac_tool_warned in |
| 3324 | yes:) |
| 3325 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3326 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3327 | ac_tool_warned=yes ;; |
| 3328 | esac |
| 3329 | STRIP=$ac_ct_STRIP |
| 3330 | fi |
| 3331 | else |
| 3332 | STRIP="$ac_cv_prog_STRIP" |
| 3333 | fi |
| 3334 | |
| 3335 | fi |
| 3336 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 3337 | |
| 3338 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 3339 | printfscip-shell system . . printf. %s "checking for a thread-safe mkdir -p... " >&6; } |
| 3340 | if testscip-shell system . . test. -z "$MKDIR_P"; then |
| 3341 | if ${ac_cv_path_mkdir+:} false; then : |
| 3342 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3343 | else |
| 3344 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3345 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 3346 | do |
| 3347 | IFS=$as_save_IFS |
| 3348 | case $as_dir in #((( |
| 3349 | '') as_dir=./ ;; |
| 3350 | */) ;; |
| 3351 | *) as_dir=$as_dir/ ;; |
| 3352 | esac |
| 3353 | for ac_prog in mkdir gmkdir; do |
| 3354 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3355 | as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue |
| 3356 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 3357 | 'mkdir (GNU coreutils) '* | \ |
| 3358 | 'mkdir (coreutils) '* | \ |
| 3359 | 'mkdir (fileutils) '4.1*) |
| 3360 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 3361 | break 3;; |
| 3362 | esac |
| 3363 | done |
| 3364 | done |
| 3365 | done |
| 3366 | IFS=$as_save_IFS |
| 3367 | |
| 3368 | fi |
| 3369 | |
| 3370 | testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version |
| 3371 | if testscip-shell system . . test. "${ac_cv_path_mkdir+set}" = set; then |
| 3372 | MKDIR_P="$ac_cv_path_mkdir -p" |
| 3373 | else |
| 3374 | # As a last resort, use the slow shell script. Don't cache a |
| 3375 | # value for MKDIR_P within a source directory, because that will |
| 3376 | # break other packages using the cache if that directory is |
| 3377 | # removed, or if the value is a relative name. |
| 3378 | MKDIR_P="$ac_install_sh -d" |
| 3379 | fi |
| 3380 | fi |
| 3381 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 3382 | printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; } |
| 3383 | |
| 3384 | for ac_prog in gawk mawk nawk awk |
| 3385 | do |
| 3386 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3387 | set dummy $ac_prog; ac_word=$2 |
| 3388 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3389 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3390 | if ${ac_cv_prog_AWK+:} false; then : |
| 3391 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3392 | else |
| 3393 | if testscip-shell system . . test. -n "$AWK"; then |
| 3394 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 3395 | else |
| 3396 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3397 | for as_dir in $PATH |
| 3398 | do |
| 3399 | IFS=$as_save_IFS |
| 3400 | case $as_dir in #((( |
| 3401 | '') as_dir=./ ;; |
| 3402 | */) ;; |
| 3403 | *) as_dir=$as_dir/ ;; |
| 3404 | esac |
| 3405 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3406 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3407 | ac_cv_prog_AWK="$ac_prog" |
| 3408 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3409 | break 2 |
| 3410 | fi |
| 3411 | done |
| 3412 | done |
| 3413 | IFS=$as_save_IFS |
| 3414 | |
| 3415 | fi |
| 3416 | fi |
| 3417 | AWK=$ac_cv_prog_AWK |
| 3418 | if testscip-shell system . . test. -n "$AWK"; then |
| 3419 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 3420 | printfscip-shell system . . printf. "%s\n" "$AWK" >&6; } |
| 3421 | else |
| 3422 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3423 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3424 | fi |
| 3425 | |
| 3426 | |
| 3427 | testscip-shell system . . test. -n "$AWK" && break |
| 3428 | done |
| 3429 | |
| 3430 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 3431 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 3432 | set x ${MAKE-make} |
| 3433 | ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 3434 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 3435 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3436 | else |
| 3437 | catscip-shell system . . cat. >conftest.make <<\_ACEOF |
| 3438 | SHELL = /bin/sh |
| 3439 | all: |
| 3440 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 3441 | _ACEOF |
| 3442 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 3443 | case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 3444 | *@@@%%%=?*=@@@%%%*) |
| 3445 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 3446 | *) |
| 3447 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 3448 | esac |
| 3449 | rmscip-shell system . . rm. -f conftest.make |
| 3450 | fi |
| 3451 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 3452 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3453 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 3454 | SET_MAKE= |
| 3455 | else |
| 3456 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3457 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3458 | SET_MAKE="MAKE=${MAKE-make}" |
| 3459 | fi |
| 3460 | |
| 3461 | # Check whether --enable-silent-rules was given. |
| 3462 | if testscip-shell system . . test. "${enable_silent_rules+set}" = set; then : |
| 3463 | enableval=$enable_silent_rules; |
| 3464 | fi |
| 3465 | |
| 3466 | case $enable_silent_rules in # ((( |
| 3467 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 3468 | no) AM_DEFAULT_VERBOSITY=1;; |
| 3469 | *) AM_DEFAULT_VERBOSITY=1;; |
| 3470 | esac |
| 3471 | am_make=${MAKE-make} |
| 3472 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3473 | printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; } |
| 3474 | if ${am_cv_make_support_nested_variables+:} false; then : |
| 3475 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3476 | else |
| 3477 | if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V)) |
| 3478 | BAR0=false |
| 3479 | BAR1=true |
| 3480 | V=1 |
| 3481 | am__doit: |
| 3482 | @$(TRUE) |
| 3483 | .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3484 | am_cv_make_support_nested_variables=yes |
| 3485 | else |
| 3486 | am_cv_make_support_nested_variables=no |
| 3487 | fi |
| 3488 | fi |
| 3489 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3490 | printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3491 | if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then |
| 3492 | AM_V='$(V)' |
| 3493 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3494 | else |
| 3495 | AM_V=$AM_DEFAULT_VERBOSITY |
| 3496 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3497 | fi |
| 3498 | AM_BACKSLASH='\' |
| 3499 | |
| 3500 | if testscip-shell system . . test. "`cd $srcdir && pwdscip-shell system . . pwd.`" != "`pwdscip-shell system . . pwd.`"; then |
| 3501 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 3502 | # is not polluted with repeated "-I." |
| 3503 | am__isrc=' -I$(srcdir)' |
| 3504 | # test to see if srcdir already configured |
| 3505 | if testscip-shell system . . test. -f $srcdir/config.status; then |
| 3506 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 3507 | fi |
| 3508 | fi |
| 3509 | |
| 3510 | # test whether we have cygpath |
| 3511 | if testscip-shell system . . test. -z "$CYGPATH_W"; then |
| 3512 | if (cygpath --version) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 3513 | CYGPATH_W='cygpath -w' |
| 3514 | else |
| 3515 | CYGPATH_W=echo |
| 3516 | fi |
| 3517 | fi |
| 3518 | |
| 3519 | |
| 3520 | # Define the identity of the package. |
| 3521 | PACKAGE='cppi' |
| 3522 | VERSION='1.18' |
| 3523 | |
| 3524 | |
| 3525 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 3526 | #define PACKAGE "$PACKAGE" |
| 3527 | _ACEOF |
| 3528 | |
| 3529 | |
| 3530 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 3531 | #define VERSION "$VERSION" |
| 3532 | _ACEOF |
| 3533 | |
| 3534 | # Some tools Automake needs. |
| 3535 | |
| 3536 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 3537 | |
| 3538 | |
| 3539 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 3540 | |
| 3541 | |
| 3542 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 3543 | |
| 3544 | |
| 3545 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 3546 | |
| 3547 | |
| 3548 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 3549 | |
| 3550 | # We need awk for the "check" target. The system "awk" is bad on |
| 3551 | # some platforms. |
| 3552 | # Always define AMTAR for backward compatibility. Yes, it's still used |
| 3553 | # in the wild :-( We should find a proper way to deprecate it ... |
| 3554 | AMTAR='$${TAR-tar}' |
| 3555 | |
| 3556 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 3557 | |
| 3558 | |
| 3559 | |
| 3560 | |
| 3561 | |
| 3562 | # POSIX will say in a future version that running "rm -f" with no argument |
| 3563 | # is OK; and we want to be able to make that assumption in our Makefile |
| 3564 | # recipes. So use an aggressive probe to check that the usage we want is |
| 3565 | # actually supported "in the wild" to an acceptable degree. |
| 3566 | # See automake bug#10828. |
| 3567 | # To make any issue more visible, cause the running configure to be aborted |
| 3568 | # by default if the 'rm' program in use doesn't match our expectations; the |
| 3569 | # user can still override this though. |
| 3570 | if rmscip-shell system . . rm. -f && rmscip-shell system . . rm. -fr && rmscip-shell system . . rm. -rf; then : OK; else |
| 3571 | catscip-shell system . . cat. >&2 <<'END' |
| 3572 | Oops! |
| 3573 | |
| 3574 | Your 'rm' program seems unable to run without file operands specified |
| 3575 | on the command line, even when the '-f' option is present. This is contrary |
| 3576 | to the behaviour of most rm programs out there, and not conforming with |
| 3577 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 3578 | |
| 3579 | Please tell [email protected] about your system, including the value |
| 3580 | of your $PATH and any error possibly output before this message. This |
| 3581 | can help us improve future automake versions. |
| 3582 | |
| 3583 | END |
| 3584 | if testscip-shell system . . test. x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 3585 | echoscip-shell system . . echo. 'Configuration will proceed anyway, since you have set the' >&2 |
| 3586 | echoscip-shell system . . echo. 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 3587 | echoscip-shell system . . echo. >&2 |
| 3588 | else |
| 3589 | catscip-shell system . . cat. >&2 <<'END' |
| 3590 | Aborting the configuration process, to ensure you take notice of the issue. |
| 3591 | |
| 3592 | You can download and install GNU coreutils to get an 'rm' implementation |
| 3593 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
| 3594 | |
| 3595 | If you want to complete the configuration process using your problematic |
| 3596 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 3597 | to "yes", and re-run configure. |
| 3598 | |
| 3599 | END |
| 3600 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 3601 | fi |
| 3602 | fi |
| 3603 | # Check whether --enable-silent-rules was given. |
| 3604 | if testscip-shell system . . test. "${enable_silent_rules+set}" = set; then : |
| 3605 | enableval=$enable_silent_rules; |
| 3606 | fi |
| 3607 | |
| 3608 | case $enable_silent_rules in # ((( |
| 3609 | yes) AM_DEFAULT_VERBOSITY=0;; |
| 3610 | no) AM_DEFAULT_VERBOSITY=1;; |
| 3611 | *) AM_DEFAULT_VERBOSITY=0;; |
| 3612 | esac |
| 3613 | am_make=${MAKE-make} |
| 3614 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 3615 | printfscip-shell system . . printf. %s "checking whether $am_make supports nested variables... " >&6; } |
| 3616 | if ${am_cv_make_support_nested_variables+:} false; then : |
| 3617 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3618 | else |
| 3619 | if printfscip-shell system . . printf. "%s\n" 'TRUE=$(BAR$(V)) |
| 3620 | BAR0=false |
| 3621 | BAR1=true |
| 3622 | V=1 |
| 3623 | am__doit: |
| 3624 | @$(TRUE) |
| 3625 | .PHONY: am__doit' | $am_make -f - >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 3626 | am_cv_make_support_nested_variables=yes |
| 3627 | else |
| 3628 | am_cv_make_support_nested_variables=no |
| 3629 | fi |
| 3630 | fi |
| 3631 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 3632 | printfscip-shell system . . printf. "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
| 3633 | if testscip-shell system . . test. $am_cv_make_support_nested_variables = yes; then |
| 3634 | AM_V='$(V)' |
| 3635 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 3636 | else |
| 3637 | AM_V=$AM_DEFAULT_VERBOSITY |
| 3638 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 3639 | fi |
| 3640 | AM_BACKSLASH='\' |
| 3641 | # make --enable-silent-rules the default. |
| 3642 | |
| 3643 | |
| 3644 | HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"} |
| 3645 | |
| 3646 | DEPDIR=.deps |
| 3647 | |
| 3648 | ac_config_commands="$ac_config_commands depfiles" |
| 3649 | |
| 3650 | |
| 3651 | am_make=${MAKE-make} |
| 3652 | catscip-shell system . . cat. > confinc << 'END' |
| 3653 | am__doit: |
| 3654 | @echo this is the am__doit target |
| 3655 | .PHONY: am__doit |
| 3656 | END |
| 3657 | # If we don't find an include directive, just comment out the code. |
| 3658 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| 3659 | printfscip-shell system . . printf. %s "checking for style of include used by $am_make... " >&6; } |
| 3660 | am__include="#" |
| 3661 | am__quote= |
| 3662 | _am_result=none |
| 3663 | # First try GNU make style include. |
| 3664 | echoscip-shell system . . echo. "include confinc" > confmf |
| 3665 | # Ignore all kinds of additional output from 'make'. |
| 3666 | case `$am_make -s -f confmf 2> /dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 3667 | *the\ am__doit\ target*) |
| 3668 | am__include=include |
| 3669 | am__quote= |
| 3670 | _am_result=GNU |
| 3671 | ;; |
| 3672 | esac |
| 3673 | # Now try BSD make style include. |
| 3674 | if testscip-shell system . . test. "$am__include" = "#"; then |
| 3675 | echoscip-shell system . . echo. '.include "confinc"' > confmf |
| 3676 | case `$am_make -s -f confmf 2> /dev/nullscip-shell filesystem . . `/dev/null`.` in #( |
| 3677 | *the\ am__doit\ target*) |
| 3678 | am__include=.include |
| 3679 | am__quote="\"" |
| 3680 | _am_result=BSD |
| 3681 | ;; |
| 3682 | esac |
| 3683 | fi |
| 3684 | |
| 3685 | |
| 3686 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
| 3687 | printfscip-shell system . . printf. "%s\n" "$_am_result" >&6; } |
| 3688 | rmscip-shell system . . rm. -f confinc confmf |
| 3689 | |
| 3690 | # Check whether --enable-dependency-tracking was given. |
| 3691 | if testscip-shell system . . test. "${enable_dependency_tracking+set}" = set; then : |
| 3692 | enableval=$enable_dependency_tracking; |
| 3693 | fi |
| 3694 | |
| 3695 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 3696 | am_depcomp="$ac_aux_dir/depcomp" |
| 3697 | AMDEPBACKSLASH='\' |
| 3698 | am__nodep='_no' |
| 3699 | fi |
| 3700 | if testscip-shell system . . test. "x$enable_dependency_tracking" != xno; then |
| 3701 | AMDEP_TRUE= |
| 3702 | AMDEP_FALSE='#' |
| 3703 | else |
| 3704 | AMDEP_TRUE='#' |
| 3705 | AMDEP_FALSE= |
| 3706 | fi |
| 3707 | |
| 3708 | |
| 3709 | ac_ext=c |
| 3710 | ac_cpp='$CPP $CPPFLAGS' |
| 3711 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3712 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3713 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3714 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3715 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 3716 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 3717 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3718 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3719 | if ${ac_cv_prog_CC+:} false; then : |
| 3720 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3721 | else |
| 3722 | if testscip-shell system . . test. -n "$CC"; then |
| 3723 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3724 | else |
| 3725 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3726 | for as_dir in $PATH |
| 3727 | do |
| 3728 | IFS=$as_save_IFS |
| 3729 | case $as_dir in #((( |
| 3730 | '') as_dir=./ ;; |
| 3731 | */) ;; |
| 3732 | *) as_dir=$as_dir/ ;; |
| 3733 | esac |
| 3734 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3735 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3736 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 3737 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3738 | break 2 |
| 3739 | fi |
| 3740 | done |
| 3741 | done |
| 3742 | IFS=$as_save_IFS |
| 3743 | |
| 3744 | fi |
| 3745 | fi |
| 3746 | CC=$ac_cv_prog_CC |
| 3747 | if testscip-shell system . . test. -n "$CC"; then |
| 3748 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3749 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 3750 | else |
| 3751 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3752 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3753 | fi |
| 3754 | |
| 3755 | |
| 3756 | fi |
| 3757 | if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then |
| 3758 | ac_ct_CC=$CC |
| 3759 | # Extract the first word of "gcc", so it can be a program name with args. |
| 3760 | set dummy gcc; ac_word=$2 |
| 3761 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3762 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3763 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3764 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3765 | else |
| 3766 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 3767 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3768 | else |
| 3769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3770 | for as_dir in $PATH |
| 3771 | do |
| 3772 | IFS=$as_save_IFS |
| 3773 | case $as_dir in #((( |
| 3774 | '') as_dir=./ ;; |
| 3775 | */) ;; |
| 3776 | *) as_dir=$as_dir/ ;; |
| 3777 | esac |
| 3778 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3779 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3780 | ac_cv_prog_ac_ct_CC="gcc" |
| 3781 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3782 | break 2 |
| 3783 | fi |
| 3784 | done |
| 3785 | done |
| 3786 | IFS=$as_save_IFS |
| 3787 | |
| 3788 | fi |
| 3789 | fi |
| 3790 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3791 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 3792 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 3793 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 3794 | else |
| 3795 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3796 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3797 | fi |
| 3798 | |
| 3799 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 3800 | CC="" |
| 3801 | else |
| 3802 | case $cross_compiling:$ac_tool_warned in |
| 3803 | yes:) |
| 3804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 3805 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 3806 | ac_tool_warned=yes ;; |
| 3807 | esac |
| 3808 | CC=$ac_ct_CC |
| 3809 | fi |
| 3810 | else |
| 3811 | CC="$ac_cv_prog_CC" |
| 3812 | fi |
| 3813 | |
| 3814 | if testscip-shell system . . test. -z "$CC"; then |
| 3815 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3816 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 3817 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 3818 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3819 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3820 | if ${ac_cv_prog_CC+:} false; then : |
| 3821 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3822 | else |
| 3823 | if testscip-shell system . . test. -n "$CC"; then |
| 3824 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3825 | else |
| 3826 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3827 | for as_dir in $PATH |
| 3828 | do |
| 3829 | IFS=$as_save_IFS |
| 3830 | case $as_dir in #((( |
| 3831 | '') as_dir=./ ;; |
| 3832 | */) ;; |
| 3833 | *) as_dir=$as_dir/ ;; |
| 3834 | esac |
| 3835 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3836 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3837 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 3838 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3839 | break 2 |
| 3840 | fi |
| 3841 | done |
| 3842 | done |
| 3843 | IFS=$as_save_IFS |
| 3844 | |
| 3845 | fi |
| 3846 | fi |
| 3847 | CC=$ac_cv_prog_CC |
| 3848 | if testscip-shell system . . test. -n "$CC"; then |
| 3849 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3850 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 3851 | else |
| 3852 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3853 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3854 | fi |
| 3855 | |
| 3856 | |
| 3857 | fi |
| 3858 | fi |
| 3859 | if testscip-shell system . . test. -z "$CC"; then |
| 3860 | # Extract the first word of "cc", so it can be a program name with args. |
| 3861 | set dummy cc; ac_word=$2 |
| 3862 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3863 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3864 | if ${ac_cv_prog_CC+:} false; then : |
| 3865 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3866 | else |
| 3867 | if testscip-shell system . . test. -n "$CC"; then |
| 3868 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3869 | else |
| 3870 | ac_prog_rejected=no |
| 3871 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3872 | for as_dir in $PATH |
| 3873 | do |
| 3874 | IFS=$as_save_IFS |
| 3875 | case $as_dir in #((( |
| 3876 | '') as_dir=./ ;; |
| 3877 | */) ;; |
| 3878 | *) as_dir=$as_dir/ ;; |
| 3879 | esac |
| 3880 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3881 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3882 | if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then |
| 3883 | ac_prog_rejected=yes |
| 3884 | continue |
| 3885 | fi |
| 3886 | ac_cv_prog_CC="cc" |
| 3887 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3888 | break 2 |
| 3889 | fi |
| 3890 | done |
| 3891 | done |
| 3892 | IFS=$as_save_IFS |
| 3893 | |
| 3894 | if testscip-shell system . . test. $ac_prog_rejected = yes; then |
| 3895 | # We found a bogon in the path, so make sure we never use it. |
| 3896 | set dummy $ac_cv_prog_CC |
| 3897 | shift |
| 3898 | if testscip-shell system . . test. $# != 0; then |
| 3899 | # We chose a different compiler from the bogus one. |
| 3900 | # However, it has the same basename, so the bogon will be chosen |
| 3901 | # first if we set CC to just the basename; use the full file name. |
| 3902 | shift |
| 3903 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 3904 | fi |
| 3905 | fi |
| 3906 | fi |
| 3907 | fi |
| 3908 | CC=$ac_cv_prog_CC |
| 3909 | if testscip-shell system . . test. -n "$CC"; then |
| 3910 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3911 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 3912 | else |
| 3913 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3914 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3915 | fi |
| 3916 | |
| 3917 | |
| 3918 | fi |
| 3919 | if testscip-shell system . . test. -z "$CC"; then |
| 3920 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 3921 | for ac_prog in cl.exe |
| 3922 | do |
| 3923 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3924 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3925 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3926 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3927 | if ${ac_cv_prog_CC+:} false; then : |
| 3928 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3929 | else |
| 3930 | if testscip-shell system . . test. -n "$CC"; then |
| 3931 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3932 | else |
| 3933 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3934 | for as_dir in $PATH |
| 3935 | do |
| 3936 | IFS=$as_save_IFS |
| 3937 | case $as_dir in #((( |
| 3938 | '') as_dir=./ ;; |
| 3939 | */) ;; |
| 3940 | *) as_dir=$as_dir/ ;; |
| 3941 | esac |
| 3942 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3943 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3944 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 3945 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3946 | break 2 |
| 3947 | fi |
| 3948 | done |
| 3949 | done |
| 3950 | IFS=$as_save_IFS |
| 3951 | |
| 3952 | fi |
| 3953 | fi |
| 3954 | CC=$ac_cv_prog_CC |
| 3955 | if testscip-shell system . . test. -n "$CC"; then |
| 3956 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3957 | printfscip-shell system . . printf. "%s\n" "$CC" >&6; } |
| 3958 | else |
| 3959 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3960 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 3961 | fi |
| 3962 | |
| 3963 | |
| 3964 | testscip-shell system . . test. -n "$CC" && break |
| 3965 | done |
| 3966 | fi |
| 3967 | if testscip-shell system . . test. -z "$CC"; then |
| 3968 | ac_ct_CC=$CC |
| 3969 | for ac_prog in cl.exe |
| 3970 | do |
| 3971 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3972 | set dummy $ac_prog; ac_word=$2 |
| 3973 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3974 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 3975 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| 3976 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 3977 | else |
| 3978 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 3979 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3980 | else |
| 3981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3982 | for as_dir in $PATH |
| 3983 | do |
| 3984 | IFS=$as_save_IFS |
| 3985 | case $as_dir in #((( |
| 3986 | '') as_dir=./ ;; |
| 3987 | */) ;; |
| 3988 | *) as_dir=$as_dir/ ;; |
| 3989 | esac |
| 3990 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3991 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 3992 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3993 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3994 | break 2 |
| 3995 | fi |
| 3996 | done |
| 3997 | done |
| 3998 | IFS=$as_save_IFS |
| 3999 | |
| 4000 | fi |
| 4001 | fi |
| 4002 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 4003 | if testscip-shell system . . test. -n "$ac_ct_CC"; then |
| 4004 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
| 4005 | printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; } |
| 4006 | else |
| 4007 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4008 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4009 | fi |
| 4010 | |
| 4011 | |
| 4012 | testscip-shell system . . test. -n "$ac_ct_CC" && break |
| 4013 | done |
| 4014 | |
| 4015 | if testscip-shell system . . test. "x$ac_ct_CC" = x; then |
| 4016 | CC="" |
| 4017 | else |
| 4018 | case $cross_compiling:$ac_tool_warned in |
| 4019 | yes:) |
| 4020 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 4021 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 4022 | ac_tool_warned=yes ;; |
| 4023 | esac |
| 4024 | CC=$ac_ct_CC |
| 4025 | fi |
| 4026 | fi |
| 4027 | |
| 4028 | fi |
| 4029 | |
| 4030 | |
| 4031 | testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4032 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4033 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "no acceptable C compiler found in \$PATH |
| 4034 | See \`config.log' for more details" "$LINENO" 5; } |
| 4035 | |
| 4036 | # Provide some information about the compiler. |
| 4037 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 4038 | set X $ac_compile |
| 4039 | ac_compiler=$2 |
| 4040 | for ac_option in --version -v -V -qversion; do |
| 4041 | { { ac_try="$ac_compiler $ac_option >&5" |
| 4042 | case "(($ac_try" in |
| 4043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4044 | *) ac_try_echo=$ac_try;; |
| 4045 | esac |
| 4046 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4047 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4048 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
| 4049 | ac_status=$? |
| 4050 | if testscip-shell system . . test. -s conftest.err; then |
| 4051 | sedscip-shell system . . sed. '10a\ |
| 4052 | ... rest of stderr output deleted ... |
| 4053 | 10q' conftest.err >conftest.er1 |
| 4054 | catscip-shell system . . cat. conftest.er1 >&5 |
| 4055 | fi |
| 4056 | rmscip-shell system . . rm. -f conftest.er1 conftest.err |
| 4057 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4058 | testscip-shell system . . test. $ac_status = 0; } |
| 4059 | done |
| 4060 | |
| 4061 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4062 | /* end confdefs.h. */ |
| 4063 | |
| 4064 | int |
| 4065 | main () |
| 4066 | { |
| 4067 | |
| 4068 | ; |
| 4069 | return 0; |
| 4070 | } |
| 4071 | _ACEOF |
| 4072 | ac_clean_files_save=$ac_clean_files |
| 4073 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| 4074 | # Try to create an executable without -o first, disregard a.out. |
| 4075 | # It will help us diagnose broken compilers, and finding out an intuition |
| 4076 | # of exeext. |
| 4077 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
| 4078 | printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; } |
| 4079 | ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'` |
| 4080 | |
| 4081 | # The possible output files: |
| 4082 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 4083 | |
| 4084 | ac_rmfiles= |
| 4085 | for ac_file in $ac_files |
| 4086 | do |
| 4087 | case $ac_file in |
| 4088 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4089 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 4090 | esac |
| 4091 | done |
| 4092 | rmscip-shell system . . rm. -f $ac_rmfiles |
| 4093 | |
| 4094 | if { { ac_try="$ac_link_default" |
| 4095 | case "(($ac_try" in |
| 4096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4097 | *) ac_try_echo=$ac_try;; |
| 4098 | esac |
| 4099 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4100 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4101 | (eval "$ac_link_default") 2>&5 |
| 4102 | ac_status=$? |
| 4103 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4104 | testscip-shell system . . test. $ac_status = 0; }; then : |
| 4105 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 4106 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 4107 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 4108 | # so that the user can short-circuit this test for compilers unknown to |
| 4109 | # Autoconf. |
| 4110 | for ac_file in $ac_files '' |
| 4111 | do |
| 4112 | testscip-shell system . . test. -f "$ac_file" || continue |
| 4113 | case $ac_file in |
| 4114 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 4115 | ;; |
| 4116 | [ab].out ) |
| 4117 | # We found the default executable, but exeext='' is most |
| 4118 | # certainly right. |
| 4119 | break;; |
| 4120 | *.* ) |
| 4121 | if testscip-shell system . . test. "${ac_cv_exeext+set}" = set && testscip-shell system . . test. "$ac_cv_exeext" != no; |
| 4122 | then :; else |
| 4123 | ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 4124 | fi |
| 4125 | # We set ac_cv_exeext here because the later test for it is not |
| 4126 | # safe: cross compilers may not add the suffix if given an `-o' |
| 4127 | # argument, so we may need to know it at that point already. |
| 4128 | # Even if this section looks crufty: it has the advantage of |
| 4129 | # actually working. |
| 4130 | break;; |
| 4131 | * ) |
| 4132 | break;; |
| 4133 | esac |
| 4134 | done |
| 4135 | testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext= |
| 4136 | |
| 4137 | else |
| 4138 | ac_file='' |
| 4139 | fi |
| 4140 | if testscip-shell system . . test. -z "$ac_file"; then : |
| 4141 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4142 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4143 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 4144 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4145 | |
| 4146 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4147 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4148 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). 77 "C compiler cannot create executables |
| 4149 | See \`config.log' for more details" "$LINENO" 5; } |
| 4150 | else |
| 4151 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4152 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 4153 | fi |
| 4154 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
| 4155 | printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; } |
| 4156 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
| 4157 | printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; } |
| 4158 | ac_exeext=$ac_cv_exeext |
| 4159 | |
| 4160 | rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| 4161 | ac_clean_files=$ac_clean_files_save |
| 4162 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
| 4163 | printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; } |
| 4164 | if { { ac_try="$ac_link" |
| 4165 | case "(($ac_try" in |
| 4166 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4167 | *) ac_try_echo=$ac_try;; |
| 4168 | esac |
| 4169 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4170 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4171 | (eval "$ac_link") 2>&5 |
| 4172 | ac_status=$? |
| 4173 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4174 | testscip-shell system . . test. $ac_status = 0; }; then : |
| 4175 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 4176 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 4177 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
| 4178 | # `rm'. |
| 4179 | for ac_file in conftest.exe conftest conftest.*; do |
| 4180 | testscip-shell system . . test. -f "$ac_file" || continue |
| 4181 | case $ac_file in |
| 4182 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 4183 | *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'` |
| 4184 | break;; |
| 4185 | * ) break;; |
| 4186 | esac |
| 4187 | done |
| 4188 | else |
| 4189 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4190 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4191 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link |
| 4192 | See \`config.log' for more details" "$LINENO" 5; } |
| 4193 | fi |
| 4194 | rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext |
| 4195 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
| 4196 | printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; } |
| 4197 | |
| 4198 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4199 | EXEEXT=$ac_cv_exeext |
| 4200 | ac_exeext=$EXEEXT |
| 4201 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4202 | /* end confdefs.h. */ |
| 4203 | #include <stdio.h> |
| 4204 | int |
| 4205 | main () |
| 4206 | { |
| 4207 | FILE *f = fopen ("conftest.out", "w"); |
| 4208 | return ferror (f) || fclose (f) != 0; |
| 4209 | |
| 4210 | ; |
| 4211 | return 0; |
| 4212 | } |
| 4213 | _ACEOF |
| 4214 | ac_clean_files="$ac_clean_files conftest.out" |
| 4215 | # Check that the compiler produces executables we can run. If not, either |
| 4216 | # the compiler is broken, or we cross compile. |
| 4217 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
| 4218 | printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; } |
| 4219 | if testscip-shell system . . test. "$cross_compiling" != yes; then |
| 4220 | { { ac_try="$ac_link" |
| 4221 | case "(($ac_try" in |
| 4222 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4223 | *) ac_try_echo=$ac_try;; |
| 4224 | esac |
| 4225 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4226 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4227 | (eval "$ac_link") 2>&5 |
| 4228 | ac_status=$? |
| 4229 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4230 | testscip-shell system . . test. $ac_status = 0; } |
| 4231 | if { ac_try='./conftest$ac_cv_exeext' |
| 4232 | { { case "(($ac_try" in |
| 4233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4234 | *) ac_try_echo=$ac_try;; |
| 4235 | esac |
| 4236 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4237 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4238 | (eval "$ac_try") 2>&5 |
| 4239 | ac_status=$? |
| 4240 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4241 | testscip-shell system . . test. $ac_status = 0; }; }; then |
| 4242 | cross_compiling=no |
| 4243 | else |
| 4244 | if testscip-shell system . . test. "$cross_compiling" = maybe; then |
| 4245 | cross_compiling=yes |
| 4246 | else |
| 4247 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4248 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4249 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot run C compiled programs. |
| 4250 | If you meant to cross compile, use \`--host'. |
| 4251 | See \`config.log' for more details" "$LINENO" 5; } |
| 4252 | fi |
| 4253 | fi |
| 4254 | fi |
| 4255 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 4256 | printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; } |
| 4257 | |
| 4258 | rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 4259 | ac_clean_files=$ac_clean_files_save |
| 4260 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 4261 | printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; } |
| 4262 | if ${ac_cv_objext+:} false; then : |
| 4263 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4264 | else |
| 4265 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4266 | /* end confdefs.h. */ |
| 4267 | |
| 4268 | int |
| 4269 | main () |
| 4270 | { |
| 4271 | |
| 4272 | ; |
| 4273 | return 0; |
| 4274 | } |
| 4275 | _ACEOF |
| 4276 | rmscip-shell system . . rm. -f conftest.o conftest.obj |
| 4277 | if { { ac_try="$ac_compile" |
| 4278 | case "(($ac_try" in |
| 4279 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4280 | *) ac_try_echo=$ac_try;; |
| 4281 | esac |
| 4282 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4283 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4284 | (eval "$ac_compile") 2>&5 |
| 4285 | ac_status=$? |
| 4286 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4287 | testscip-shell system . . test. $ac_status = 0; }; then : |
| 4288 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 4289 | testscip-shell system . . test. -f "$ac_file" || continue; |
| 4290 | case $ac_file in |
| 4291 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 4292 | *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'` |
| 4293 | break;; |
| 4294 | esac |
| 4295 | done |
| 4296 | else |
| 4297 | printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5 |
| 4298 | sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5 |
| 4299 | |
| 4300 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 4301 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 4302 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot compute suffix of object files: cannot compile |
| 4303 | See \`config.log' for more details" "$LINENO" 5; } |
| 4304 | fi |
| 4305 | rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext |
| 4306 | fi |
| 4307 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 4308 | printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; } |
| 4309 | OBJEXT=$ac_cv_objext |
| 4310 | ac_objext=$OBJEXT |
| 4311 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 4312 | printfscip-shell system . . printf. %s "checking whether we are using the GNU C compiler... " >&6; } |
| 4313 | if ${ac_cv_c_compiler_gnu+:} false; then : |
| 4314 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4315 | else |
| 4316 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4317 | /* end confdefs.h. */ |
| 4318 | |
| 4319 | int |
| 4320 | main () |
| 4321 | { |
| 4322 | #ifndef __GNUC__ |
| 4323 | choke me |
| 4324 | #endif |
| 4325 | |
| 4326 | ; |
| 4327 | return 0; |
| 4328 | } |
| 4329 | _ACEOF |
| 4330 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4331 | ac_compiler_gnu=yes |
| 4332 | else |
| 4333 | ac_compiler_gnu=no |
| 4334 | fi |
| 4335 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4336 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 4337 | |
| 4338 | fi |
| 4339 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
| 4340 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
| 4341 | if testscip-shell system . . test. $ac_compiler_gnu = yes; then |
| 4342 | GCC=yes |
| 4343 | else |
| 4344 | GCC= |
| 4345 | fi |
| 4346 | ac_test_CFLAGS=${CFLAGS+set} |
| 4347 | ac_save_CFLAGS=$CFLAGS |
| 4348 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 4349 | printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; } |
| 4350 | if ${ac_cv_prog_cc_g+:} false; then : |
| 4351 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4352 | else |
| 4353 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 4354 | ac_c_werror_flag=yes |
| 4355 | ac_cv_prog_cc_g=no |
| 4356 | CFLAGS="-g" |
| 4357 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4358 | /* end confdefs.h. */ |
| 4359 | |
| 4360 | int |
| 4361 | main () |
| 4362 | { |
| 4363 | |
| 4364 | ; |
| 4365 | return 0; |
| 4366 | } |
| 4367 | _ACEOF |
| 4368 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4369 | ac_cv_prog_cc_g=yes |
| 4370 | else |
| 4371 | CFLAGS="" |
| 4372 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4373 | /* end confdefs.h. */ |
| 4374 | |
| 4375 | int |
| 4376 | main () |
| 4377 | { |
| 4378 | |
| 4379 | ; |
| 4380 | return 0; |
| 4381 | } |
| 4382 | _ACEOF |
| 4383 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4384 | |
| 4385 | else |
| 4386 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4387 | CFLAGS="-g" |
| 4388 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4389 | /* end confdefs.h. */ |
| 4390 | |
| 4391 | int |
| 4392 | main () |
| 4393 | { |
| 4394 | |
| 4395 | ; |
| 4396 | return 0; |
| 4397 | } |
| 4398 | _ACEOF |
| 4399 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4400 | ac_cv_prog_cc_g=yes |
| 4401 | fi |
| 4402 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4403 | fi |
| 4404 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4405 | fi |
| 4406 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 4407 | ac_c_werror_flag=$ac_save_c_werror_flag |
| 4408 | fi |
| 4409 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
| 4410 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; } |
| 4411 | if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then |
| 4412 | CFLAGS=$ac_save_CFLAGS |
| 4413 | elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then |
| 4414 | if testscip-shell system . . test. "$GCC" = yes; then |
| 4415 | CFLAGS="-g -O2" |
| 4416 | else |
| 4417 | CFLAGS="-g" |
| 4418 | fi |
| 4419 | else |
| 4420 | if testscip-shell system . . test. "$GCC" = yes; then |
| 4421 | CFLAGS="-O2" |
| 4422 | else |
| 4423 | CFLAGS= |
| 4424 | fi |
| 4425 | fi |
| 4426 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
| 4427 | printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; } |
| 4428 | if ${ac_cv_prog_cc_c11+:} false; then : |
| 4429 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4430 | else |
| 4431 | ac_cv_prog_cc_c11=no |
| 4432 | ac_save_CC=$CC |
| 4433 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4434 | /* end confdefs.h. */ |
| 4435 | #include <stdarg.h> |
| 4436 | #include <stdbool.h> |
| 4437 | #include <stdlib.h> |
| 4438 | #include <wchar.h> |
| 4439 | #include <stdio.h> |
| 4440 | |
| 4441 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 4442 | #define debug(...) fprintf (stderr, __VA_ARGS__) |
| 4443 | #define showlist(...) puts (#__VA_ARGS__) |
| 4444 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 4445 | static void |
| 4446 | test_varargs_macros (void) |
| 4447 | { |
| 4448 | int x = 1234; |
| 4449 | int y = 5678; |
| 4450 | debug ("Flag"); |
| 4451 | debug ("X = %d\n", x); |
| 4452 | showlist (The first, second, and third items.); |
| 4453 | report (x>y, "x is %d but y is %d", x, y); |
| 4454 | } |
| 4455 | |
| 4456 | // Check long long types. |
| 4457 | #define BIG64 18446744073709551615ull |
| 4458 | #define BIG32 4294967295ul |
| 4459 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 4460 | #if !BIG_OK |
| 4461 | your preprocessor is broken; |
| 4462 | #endif |
| 4463 | #if BIG_OK |
| 4464 | #else |
| 4465 | your preprocessor is broken; |
| 4466 | #endif |
| 4467 | static long long int bignum = -9223372036854775807LL; |
| 4468 | static unsigned long long int ubignum = BIG64; |
| 4469 | |
| 4470 | struct incomplete_array |
| 4471 | { |
| 4472 | int datasize; |
| 4473 | double data[]; |
| 4474 | }; |
| 4475 | |
| 4476 | struct named_init { |
| 4477 | int number; |
| 4478 | const wchar_t *name; |
| 4479 | double average; |
| 4480 | }; |
| 4481 | |
| 4482 | typedef const char *ccp; |
| 4483 | |
| 4484 | static inline int |
| 4485 | test_restrict (ccp restrict text) |
| 4486 | { |
| 4487 | // See if C++-style comments work. |
| 4488 | // Iterate through items via the restricted pointer. |
| 4489 | // Also check for declarations in for loops. |
| 4490 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4491 | continue; |
| 4492 | return 0; |
| 4493 | } |
| 4494 | |
| 4495 | // Check varargs and va_copy. |
| 4496 | static bool |
| 4497 | test_varargs (const char *format, ...) |
| 4498 | { |
| 4499 | va_list args; |
| 4500 | va_start (args, format); |
| 4501 | va_list args_copy; |
| 4502 | va_copy (args_copy, args); |
| 4503 | |
| 4504 | const char *str = ""; |
| 4505 | int number = 0; |
| 4506 | float fnumber = 0; |
| 4507 | |
| 4508 | while (*format) |
| 4509 | { |
| 4510 | switch (*format++) |
| 4511 | { |
| 4512 | case 's': // string |
| 4513 | str = va_arg (args_copy, const char *); |
| 4514 | break; |
| 4515 | case 'd': // int |
| 4516 | number = va_arg (args_copy, int); |
| 4517 | break; |
| 4518 | case 'f': // float |
| 4519 | fnumber = va_arg (args_copy, double); |
| 4520 | break; |
| 4521 | default: |
| 4522 | break; |
| 4523 | } |
| 4524 | } |
| 4525 | va_end (args_copy); |
| 4526 | va_end (args); |
| 4527 | |
| 4528 | return *str && number && fnumber; |
| 4529 | } |
| 4530 | // Check _Alignas. |
| 4531 | char _Alignas (double) aligned_as_double; |
| 4532 | char _Alignas (0) no_special_alignment; |
| 4533 | extern char aligned_as_int; |
| 4534 | char _Alignas (0) _Alignas (int) aligned_as_int; |
| 4535 | |
| 4536 | // Check _Alignof. |
| 4537 | enum |
| 4538 | { |
| 4539 | int_alignment = _Alignof (int), |
| 4540 | int_array_alignment = _Alignof (int[100]), |
| 4541 | char_alignment = _Alignof (char) |
| 4542 | }; |
| 4543 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 4544 | |
| 4545 | // Check _Noreturn. |
| 4546 | int _Noreturn does_not_return (void) { for (;;) continue; } |
| 4547 | |
| 4548 | // Check _Static_assert. |
| 4549 | struct test_static_assert |
| 4550 | { |
| 4551 | int x; |
| 4552 | _Static_assert (sizeof (int) <= sizeof (long int), |
| 4553 | "_Static_assert does not work in struct"); |
| 4554 | long int y; |
| 4555 | }; |
| 4556 | |
| 4557 | // Check UTF-8 literals. |
| 4558 | #define u8 syntax error! |
| 4559 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 4560 | |
| 4561 | // Check duplicate typedefs. |
| 4562 | typedef long *long_ptr; |
| 4563 | typedef long int *long_ptr; |
| 4564 | typedef long_ptr long_ptr; |
| 4565 | |
| 4566 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 4567 | struct anonymous |
| 4568 | { |
| 4569 | union { |
| 4570 | struct { int i; int j; }; |
| 4571 | struct { int k; long int l; } w; |
| 4572 | }; |
| 4573 | int m; |
| 4574 | } v1; |
| 4575 | |
| 4576 | int |
| 4577 | main () |
| 4578 | { |
| 4579 | |
| 4580 | // Check bool. |
| 4581 | _Bool success = false; |
| 4582 | |
| 4583 | // Check restrict. |
| 4584 | if (test_restrict ("String literal") == 0) |
| 4585 | success = true; |
| 4586 | char *restrict newvar = "Another string"; |
| 4587 | |
| 4588 | // Check varargs. |
| 4589 | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4590 | test_varargs_macros (); |
| 4591 | |
| 4592 | // Check flexible array members. |
| 4593 | struct incomplete_array *ia = |
| 4594 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4595 | ia->datasize = 10; |
| 4596 | for (int i = 0; i < ia->datasize; ++i) |
| 4597 | ia->data[i] = i * 1.234; |
| 4598 | |
| 4599 | // Check named initializers. |
| 4600 | struct named_init ni = { |
| 4601 | .number = 34, |
| 4602 | .name = L"Test wide string", |
| 4603 | .average = 543.34343, |
| 4604 | }; |
| 4605 | |
| 4606 | ni.number = 58; |
| 4607 | |
| 4608 | int dynamic_array[ni.number]; |
| 4609 | dynamic_array[ni.number - 1] = 543; |
| 4610 | |
| 4611 | // work around unused variable warnings |
| 4612 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4613 | || dynamic_array[ni.number - 1] != 543); |
| 4614 | |
| 4615 | v1.i = 2; |
| 4616 | v1.w.k = 5; |
| 4617 | _Static_assert (&v1.i == &v1.w.k, "Anonymous union alignment botch"); |
| 4618 | |
| 4619 | ; |
| 4620 | return 0; |
| 4621 | } |
| 4622 | _ACEOF |
| 4623 | for ac_arg in '' -std=gnu11 |
| 4624 | do |
| 4625 | CC="$ac_save_CC $ac_arg" |
| 4626 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4627 | ac_cv_prog_cc_c11=$ac_arg |
| 4628 | fi |
| 4629 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext |
| 4630 | testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break |
| 4631 | done |
| 4632 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4633 | CC=$ac_save_CC |
| 4634 | |
| 4635 | fi |
| 4636 | # AC_CACHE_VAL |
| 4637 | ac_prog_cc_stdc_options= |
| 4638 | case "x$ac_cv_prog_cc_c11" in |
| 4639 | x) |
| 4640 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4641 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } ;; |
| 4642 | xno) |
| 4643 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4644 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } ;; |
| 4645 | *) |
| 4646 | ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11" |
| 4647 | CC=$CC$ac_prog_cc_stdc_options |
| 4648 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
| 4649 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; } ;; |
| 4650 | esac |
| 4651 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != xno; then : |
| 4652 | ac_prog_cc_stdc=c11 |
| 4653 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
| 4654 | else |
| 4655 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
| 4656 | printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; } |
| 4657 | if ${ac_cv_prog_cc_c99+:} false; then : |
| 4658 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4659 | else |
| 4660 | ac_cv_prog_cc_c99=no |
| 4661 | ac_save_CC=$CC |
| 4662 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4663 | /* end confdefs.h. */ |
| 4664 | #include <stdarg.h> |
| 4665 | #include <stdbool.h> |
| 4666 | #include <stdlib.h> |
| 4667 | #include <wchar.h> |
| 4668 | #include <stdio.h> |
| 4669 | |
| 4670 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
| 4671 | #define debug(...) fprintf (stderr, __VA_ARGS__) |
| 4672 | #define showlist(...) puts (#__VA_ARGS__) |
| 4673 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 4674 | static void |
| 4675 | test_varargs_macros (void) |
| 4676 | { |
| 4677 | int x = 1234; |
| 4678 | int y = 5678; |
| 4679 | debug ("Flag"); |
| 4680 | debug ("X = %d\n", x); |
| 4681 | showlist (The first, second, and third items.); |
| 4682 | report (x>y, "x is %d but y is %d", x, y); |
| 4683 | } |
| 4684 | |
| 4685 | // Check long long types. |
| 4686 | #define BIG64 18446744073709551615ull |
| 4687 | #define BIG32 4294967295ul |
| 4688 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 4689 | #if !BIG_OK |
| 4690 | your preprocessor is broken; |
| 4691 | #endif |
| 4692 | #if BIG_OK |
| 4693 | #else |
| 4694 | your preprocessor is broken; |
| 4695 | #endif |
| 4696 | static long long int bignum = -9223372036854775807LL; |
| 4697 | static unsigned long long int ubignum = BIG64; |
| 4698 | |
| 4699 | struct incomplete_array |
| 4700 | { |
| 4701 | int datasize; |
| 4702 | double data[]; |
| 4703 | }; |
| 4704 | |
| 4705 | struct named_init { |
| 4706 | int number; |
| 4707 | const wchar_t *name; |
| 4708 | double average; |
| 4709 | }; |
| 4710 | |
| 4711 | typedef const char *ccp; |
| 4712 | |
| 4713 | static inline int |
| 4714 | test_restrict (ccp restrict text) |
| 4715 | { |
| 4716 | // See if C++-style comments work. |
| 4717 | // Iterate through items via the restricted pointer. |
| 4718 | // Also check for declarations in for loops. |
| 4719 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
| 4720 | continue; |
| 4721 | return 0; |
| 4722 | } |
| 4723 | |
| 4724 | // Check varargs and va_copy. |
| 4725 | static bool |
| 4726 | test_varargs (const char *format, ...) |
| 4727 | { |
| 4728 | va_list args; |
| 4729 | va_start (args, format); |
| 4730 | va_list args_copy; |
| 4731 | va_copy (args_copy, args); |
| 4732 | |
| 4733 | const char *str = ""; |
| 4734 | int number = 0; |
| 4735 | float fnumber = 0; |
| 4736 | |
| 4737 | while (*format) |
| 4738 | { |
| 4739 | switch (*format++) |
| 4740 | { |
| 4741 | case 's': // string |
| 4742 | str = va_arg (args_copy, const char *); |
| 4743 | break; |
| 4744 | case 'd': // int |
| 4745 | number = va_arg (args_copy, int); |
| 4746 | break; |
| 4747 | case 'f': // float |
| 4748 | fnumber = va_arg (args_copy, double); |
| 4749 | break; |
| 4750 | default: |
| 4751 | break; |
| 4752 | } |
| 4753 | } |
| 4754 | va_end (args_copy); |
| 4755 | va_end (args); |
| 4756 | |
| 4757 | return *str && number && fnumber; |
| 4758 | } |
| 4759 | int |
| 4760 | main () |
| 4761 | { |
| 4762 | |
| 4763 | // Check bool. |
| 4764 | _Bool success = false; |
| 4765 | |
| 4766 | // Check restrict. |
| 4767 | if (test_restrict ("String literal") == 0) |
| 4768 | success = true; |
| 4769 | char *restrict newvar = "Another string"; |
| 4770 | |
| 4771 | // Check varargs. |
| 4772 | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
| 4773 | test_varargs_macros (); |
| 4774 | |
| 4775 | // Check flexible array members. |
| 4776 | struct incomplete_array *ia = |
| 4777 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 4778 | ia->datasize = 10; |
| 4779 | for (int i = 0; i < ia->datasize; ++i) |
| 4780 | ia->data[i] = i * 1.234; |
| 4781 | |
| 4782 | // Check named initializers. |
| 4783 | struct named_init ni = { |
| 4784 | .number = 34, |
| 4785 | .name = L"Test wide string", |
| 4786 | .average = 543.34343, |
| 4787 | }; |
| 4788 | |
| 4789 | ni.number = 58; |
| 4790 | |
| 4791 | int dynamic_array[ni.number]; |
| 4792 | dynamic_array[ni.number - 1] = 543; |
| 4793 | |
| 4794 | // work around unused variable warnings |
| 4795 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
| 4796 | || dynamic_array[ni.number - 1] != 543); |
| 4797 | |
| 4798 | ; |
| 4799 | return 0; |
| 4800 | } |
| 4801 | _ACEOF |
| 4802 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99 |
| 4803 | do |
| 4804 | CC="$ac_save_CC $ac_arg" |
| 4805 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4806 | ac_cv_prog_cc_c99=$ac_arg |
| 4807 | fi |
| 4808 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext |
| 4809 | testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break |
| 4810 | done |
| 4811 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4812 | CC=$ac_save_CC |
| 4813 | |
| 4814 | fi |
| 4815 | # AC_CACHE_VAL |
| 4816 | ac_prog_cc_stdc_options= |
| 4817 | case "x$ac_cv_prog_cc_c99" in |
| 4818 | x) |
| 4819 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4820 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } ;; |
| 4821 | xno) |
| 4822 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4823 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } ;; |
| 4824 | *) |
| 4825 | ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99" |
| 4826 | CC=$CC$ac_prog_cc_stdc_options |
| 4827 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
| 4828 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; } ;; |
| 4829 | esac |
| 4830 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != xno; then : |
| 4831 | ac_prog_cc_stdc=c99 |
| 4832 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
| 4833 | else |
| 4834 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
| 4835 | printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; } |
| 4836 | if ${ac_cv_prog_cc_c89+:} false; then : |
| 4837 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4838 | else |
| 4839 | ac_cv_prog_cc_c89=no |
| 4840 | ac_save_CC=$CC |
| 4841 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4842 | /* end confdefs.h. */ |
| 4843 | #include <stdarg.h> |
| 4844 | #include <stdio.h> |
| 4845 | struct stat; |
| 4846 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 4847 | struct buf { int x; }; |
| 4848 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 4849 | static char *e (p, i) |
| 4850 | char **p; |
| 4851 | int i; |
| 4852 | { |
| 4853 | return p[i]; |
| 4854 | } |
| 4855 | static char *f (char * (*g) (char **, int), char **p, ...) |
| 4856 | { |
| 4857 | char *s; |
| 4858 | va_list v; |
| 4859 | va_start (v,p); |
| 4860 | s = g (p, va_arg (v,int)); |
| 4861 | va_end (v); |
| 4862 | return s; |
| 4863 | } |
| 4864 | |
| 4865 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 4866 | function prototypes and stuff, but not '\xHH' hex character constants. |
| 4867 | These don't provoke an error unfortunately, instead are silently treated |
| 4868 | as 'x'. The following induces an error, until -std is added to get |
| 4869 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 4870 | array size at least. It's necessary to write '\x00'==0 to get something |
| 4871 | that's true only with -std. */ |
| 4872 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 4873 | |
| 4874 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| 4875 | inside strings and character constants. */ |
| 4876 | #define FOO(x) 'x' |
| 4877 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| 4878 | |
| 4879 | int test (int i, double x); |
| 4880 | struct s1 {int (*f) (int a);}; |
| 4881 | struct s2 {int (*f) (double a);}; |
| 4882 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 4883 | int argc; |
| 4884 | char **argv; |
| 4885 | int |
| 4886 | main () |
| 4887 | { |
| 4888 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 4889 | ; |
| 4890 | return 0; |
| 4891 | } |
| 4892 | _ACEOF |
| 4893 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 4894 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 4895 | do |
| 4896 | CC="$ac_save_CC $ac_arg" |
| 4897 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 4898 | ac_cv_prog_cc_c89=$ac_arg |
| 4899 | fi |
| 4900 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext |
| 4901 | testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break |
| 4902 | done |
| 4903 | rmscip-shell system . . rm. -f conftest.$ac_ext |
| 4904 | CC=$ac_save_CC |
| 4905 | |
| 4906 | fi |
| 4907 | # AC_CACHE_VAL |
| 4908 | ac_prog_cc_stdc_options= |
| 4909 | case "x$ac_cv_prog_cc_c89" in |
| 4910 | x) |
| 4911 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
| 4912 | printfscip-shell system . . printf. "%s\n" "none needed" >&6; } ;; |
| 4913 | xno) |
| 4914 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
| 4915 | printfscip-shell system . . printf. "%s\n" "unsupported" >&6; } ;; |
| 4916 | *) |
| 4917 | ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89" |
| 4918 | CC=$CC$ac_prog_cc_stdc_options |
| 4919 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
| 4920 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; } ;; |
| 4921 | esac |
| 4922 | if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != xno; then : |
| 4923 | ac_prog_cc_stdc=c89 |
| 4924 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
| 4925 | else |
| 4926 | ac_prog_cc_stdc=no |
| 4927 | ac_cv_prog_cc_stdc=no |
| 4928 | fi |
| 4929 | |
| 4930 | fi |
| 4931 | |
| 4932 | fi |
| 4933 | |
| 4934 | ac_ext=c |
| 4935 | ac_cpp='$CPP $CPPFLAGS' |
| 4936 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4937 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4938 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4939 | |
| 4940 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| 4941 | printfscip-shell system . . printf. %s "checking whether $CC understands -c and -o together... " >&6; } |
| 4942 | set dummy $CC; am__cc=`printfscip-shell system . . printf. "%s\n" "$2" | \ |
| 4943 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` |
| 4944 | if eval \${am_cv_prog_cc_${am__cc}_c_o+:} false; then : |
| 4945 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 4946 | else |
| 4947 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 4948 | /* end confdefs.h. */ |
| 4949 | |
| 4950 | int |
| 4951 | main () |
| 4952 | { |
| 4953 | |
| 4954 | ; |
| 4955 | return 0; |
| 4956 | } |
| 4957 | _ACEOF |
| 4958 | # Make sure it works both with $CC and with simple cc. |
| 4959 | # We do the test twice because some compilers refuse to overwrite an |
| 4960 | # existing .o file with -o, though they will create one. |
| 4961 | ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' |
| 4962 | rmscip-shell system . . rm. -f conftest2.* |
| 4963 | if { { case "(($ac_try" in |
| 4964 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 4965 | *) ac_try_echo=$ac_try;; |
| 4966 | esac |
| 4967 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 4968 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 4969 | (eval "$ac_try") 2>&5 |
| 4970 | ac_status=$? |
| 4971 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 4972 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -f conftest2.$ac_objext |
| 4973 | then |
| 4974 | eval am_cv_prog_cc_${am__cc}_c_o=yes |
| 4975 | else |
| 4976 | eval am_cv_prog_cc_${am__cc}_c_o=no |
| 4977 | fi |
| 4978 | rmscip-shell system . . rm. -f core conftest* |
| 4979 | |
| 4980 | fi |
| 4981 | if eval test \"\$am_cv_prog_cc_${am__cc}_c_o\" = yes; then |
| 4982 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4983 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 4984 | else |
| 4985 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4986 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 4987 | # Losing compiler, so wrap it with the 'compile' script. |
| 4988 | # FIXME: It is wrong to rewrite CC. |
| 4989 | # But if we don't then we get into trouble of one sort or another. |
| 4990 | # A longer-term fix would be to have automake use am__CC in this case, |
| 4991 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| 4992 | CC="$am_aux_dir/compile $CC" |
| 4993 | fi |
| 4994 | |
| 4995 | depcc="$CC" am_compiler_list= |
| 4996 | |
| 4997 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| 4998 | printfscip-shell system . . printf. %s "checking dependency style of $depcc... " >&6; } |
| 4999 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| 5000 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5001 | else |
| 5002 | if testscip-shell system . . test. -z "$AMDEP_TRUE" && testscip-shell system . . test. -f "$am_depcomp"; then |
| 5003 | # We make a subdir and do the tests there. Otherwise we can end up |
| 5004 | # making bogus files that we don't know about and never remove. For |
| 5005 | # instance it was reported that on HP-UX the gcc test will end up |
| 5006 | # making a dummy file named 'D' -- because '-MD' means "put the output |
| 5007 | # in D". |
| 5008 | rmscip-shell system . . rm. -rf conftest.dir |
| 5009 | mkdirscip-shell system . . mkdir. conftest.dir |
| 5010 | # Copy depcomp to subdir because otherwise we won't find it if we're |
| 5011 | # using a relative directory. |
| 5012 | cpscip-shell system . . cp. "$am_depcomp" conftest.dir |
| 5013 | cd conftest.dir |
| 5014 | # We will build objects and dependencies in a subdirectory because |
| 5015 | # it helps to detect inapplicable dependency modes. For instance |
| 5016 | # both Tru64's cc and ICC support -MD to output dependencies as a |
| 5017 | # side effect of compilation, but ICC will put the dependencies in |
| 5018 | # the current directory while Tru64 will put them in the object |
| 5019 | # directory. |
| 5020 | mkdirscip-shell system . . mkdir. sub |
| 5021 | |
| 5022 | am_cv_CC_dependencies_compiler_type=none |
| 5023 | if testscip-shell system . . test. "$am_compiler_list" = ""; then |
| 5024 | am_compiler_list=`sedscip-shell system . . sed. -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 5025 | fi |
| 5026 | am__universal=false |
| 5027 | case " $depcc " in #( |
| 5028 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| 5029 | esac |
| 5030 | |
| 5031 | for depmode in $am_compiler_list; do |
| 5032 | # Setup a source with many dependencies, because some compilers |
| 5033 | # like to wrap large dependency lists on column 80 (with \), and |
| 5034 | # we should not choose a depcomp mode which is confused by this. |
| 5035 | # |
| 5036 | # We need to recreate these files for each test, as the compiler may |
| 5037 | # overwrite some of them when testing with obscure command lines. |
| 5038 | # This happens at least with the AIX C compiler. |
| 5039 | : > sub/conftest.c |
| 5040 | for i in 1 2 3 4 5 6; do |
| 5041 | echoscip-shell system . . echo. '#include "conftst'$i'.h"' >> sub/conftest.c |
| 5042 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| 5043 | # Solaris 10 /bin/sh. |
| 5044 | echoscip-shell system . . echo. '/* dummy */scip-shell filesystem . . `/* dummy */`.' > sub/conftst$i.h |
| 5045 | done |
| 5046 | echoscip-shell system . . echo. "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 5047 | |
| 5048 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| 5049 | # mode. It turns out that the SunPro C++ compiler does not properly |
| 5050 | # handle '-M -o', and we need to detect this. Also, some Intel |
| 5051 | # versions had trouble with output in subdirs. |
| 5052 | am__obj=sub/conftest.${OBJEXT-o} |
| 5053 | am__minus_obj="-o $am__obj" |
| 5054 | case $depmode in |
| 5055 | gcc) |
| 5056 | # This depmode causes a compiler race in universal mode. |
| 5057 | testscip-shell system . . test. "$am__universal" = false || continue |
| 5058 | ;; |
| 5059 | nosideeffect) |
| 5060 | # After this tag, mechanisms are not by side-effect, so they'll |
| 5061 | # only be used when explicitly requested. |
| 5062 | if testscip-shell system . . test. "x$enable_dependency_tracking" = xyes; then |
| 5063 | continue |
| 5064 | else |
| 5065 | break |
| 5066 | fi |
| 5067 | ;; |
| 5068 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| 5069 | # This compiler won't grok '-c -o', but also, the minuso test has |
| 5070 | # not run yet. These depmodes are late enough in the game, and |
| 5071 | # so weak that their functioning should not be impacted. |
| 5072 | am__obj=conftest.${OBJEXT-o} |
| 5073 | am__minus_obj= |
| 5074 | ;; |
| 5075 | none) break ;; |
| 5076 | esac |
| 5077 | if depmode=$depmode \ |
| 5078 | source=sub/conftest.c object=$am__obj \ |
| 5079 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 5080 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| 5081 | >/dev/nullscip-shell filesystem . . `/dev/null`. 2>conftest.err && |
| 5082 | grepscip-shell system . . grep. sub/conftst1.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5083 | grepscip-shell system . . grep. sub/conftst6.h sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5084 | grepscip-shell system . . grep. $am__obj sub/conftest.Po > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && |
| 5085 | ${MAKE-make} -s -f confmf > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 5086 | # icc doesn't choke on unknown options, it will just issue warnings |
| 5087 | # or remarks (even with -Werror). So we grep stderr for any message |
| 5088 | # that says an option was ignored or not supported. |
| 5089 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
| 5090 | # icc: Command line warning: ignoring option '-M'; no argument required |
| 5091 | # The diagnosis changed in icc 8.0: |
| 5092 | # icc: Command line remark: option '-MP' not supported |
| 5093 | if (grepscip-shell system . . grep. 'ignoring option' conftest.err || |
| 5094 | grepscip-shell system . . grep. 'not supported' conftest.err) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 5095 | am_cv_CC_dependencies_compiler_type=$depmode |
| 5096 | break |
| 5097 | fi |
| 5098 | fi |
| 5099 | done |
| 5100 | |
| 5101 | cd .. |
| 5102 | rmscip-shell system . . rm. -rf conftest.dir |
| 5103 | else |
| 5104 | am_cv_CC_dependencies_compiler_type=none |
| 5105 | fi |
| 5106 | |
| 5107 | fi |
| 5108 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 5109 | printfscip-shell system . . printf. "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
| 5110 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 5111 | |
| 5112 | if |
| 5113 | testscip-shell system . . test. "x$enable_dependency_tracking" != xno \ |
| 5114 | && testscip-shell system . . test. "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 5115 | am__fastdepCC_TRUE= |
| 5116 | am__fastdepCC_FALSE='#' |
| 5117 | else |
| 5118 | am__fastdepCC_TRUE='#' |
| 5119 | am__fastdepCC_FALSE= |
| 5120 | fi |
| 5121 | |
| 5122 | |
| 5123 | |
| 5124 | # For better backward-compatibility. Users are advised to stop |
| 5125 | # relying on this cache variable and C preprocessor symbol ASAP. |
| 5126 | eval ac_cv_prog_cc_${am__cc}_c_o=\$am_cv_prog_cc_${am__cc}_c_o |
| 5127 | if eval test \"\$ac_cv_prog_cc_${am__cc}_c_o\" != yes; then |
| 5128 | |
| 5129 | printfscip-shell system . . printf. "%s\n" "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h |
| 5130 | |
| 5131 | fi |
| 5132 | |
| 5133 | |
| 5134 | ac_ext=c |
| 5135 | ac_cpp='$CPP $CPPFLAGS' |
| 5136 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5137 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5138 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5139 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
| 5140 | printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; } |
| 5141 | # On Suns, sometimes $CPP names a directory. |
| 5142 | if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then |
| 5143 | CPP= |
| 5144 | fi |
| 5145 | if testscip-shell system . . test. -z "$CPP"; then |
| 5146 | if ${ac_cv_prog_CPP+:} false; then : |
| 5147 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5148 | else |
| 5149 | # Double quotes because CPP needs to be expanded |
| 5150 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`." |
| 5151 | do |
| 5152 | ac_preproc_ok=false |
| 5153 | for ac_c_preproc_warn_flag in '' yes |
| 5154 | do |
| 5155 | # Use a header file that comes with gcc, so configuring glibc |
| 5156 | # with a fresh cross-compiler works. |
| 5157 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 5158 | # not just through cpp. "Syntax error" is here to catch this case. |
| 5159 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5160 | /* end confdefs.h. */ |
| 5161 | #include <limits.h> |
| 5162 | Syntax error |
| 5163 | _ACEOF |
| 5164 | if ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). "$LINENO"; then : |
| 5165 | |
| 5166 | else |
| 5167 | # Broken: fails on valid input. |
| 5168 | continue |
| 5169 | fi |
| 5170 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 5171 | |
| 5172 | # OK, works on sane cases. Now check whether nonexistent headers |
| 5173 | # can be detected and how. |
| 5174 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5175 | /* end confdefs.h. */ |
| 5176 | #include <ac_nonexistent.h> |
| 5177 | _ACEOF |
| 5178 | if ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). "$LINENO"; then : |
| 5179 | # Broken: success on invalid input. |
| 5180 | continue |
| 5181 | else |
| 5182 | # Passes both tests. |
| 5183 | ac_preproc_ok=: |
| 5184 | break |
| 5185 | fi |
| 5186 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 5187 | |
| 5188 | done |
| 5189 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5190 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 5191 | if $ac_preproc_ok; then : |
| 5192 | break |
| 5193 | fi |
| 5194 | |
| 5195 | done |
| 5196 | ac_cv_prog_CPP=$CPP |
| 5197 | |
| 5198 | fi |
| 5199 | CPP=$ac_cv_prog_CPP |
| 5200 | else |
| 5201 | ac_cv_prog_CPP=$CPP |
| 5202 | fi |
| 5203 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 5204 | printfscip-shell system . . printf. "%s\n" "$CPP" >&6; } |
| 5205 | ac_preproc_ok=false |
| 5206 | for ac_c_preproc_warn_flag in '' yes |
| 5207 | do |
| 5208 | # Use a header file that comes with gcc, so configuring glibc |
| 5209 | # with a fresh cross-compiler works. |
| 5210 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 5211 | # not just through cpp. "Syntax error" is here to catch this case. |
| 5212 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5213 | /* end confdefs.h. */ |
| 5214 | #include <limits.h> |
| 5215 | Syntax error |
| 5216 | _ACEOF |
| 5217 | if ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). "$LINENO"; then : |
| 5218 | |
| 5219 | else |
| 5220 | # Broken: fails on valid input. |
| 5221 | continue |
| 5222 | fi |
| 5223 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 5224 | |
| 5225 | # OK, works on sane cases. Now check whether nonexistent headers |
| 5226 | # can be detected and how. |
| 5227 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5228 | /* end confdefs.h. */ |
| 5229 | #include <ac_nonexistent.h> |
| 5230 | _ACEOF |
| 5231 | if ac_fn_c_try_cppscip-shell shell cppi 1.18-6 ac_fn_c_try_cpp(). "$LINENO"; then : |
| 5232 | # Broken: success on invalid input. |
| 5233 | continue |
| 5234 | else |
| 5235 | # Passes both tests. |
| 5236 | ac_preproc_ok=: |
| 5237 | break |
| 5238 | fi |
| 5239 | rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext |
| 5240 | |
| 5241 | done |
| 5242 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 5243 | rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext |
| 5244 | if $ac_preproc_ok; then : |
| 5245 | |
| 5246 | else |
| 5247 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 5248 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 5249 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check |
| 5250 | See \`config.log' for more details" "$LINENO" 5; } |
| 5251 | fi |
| 5252 | |
| 5253 | ac_ext=c |
| 5254 | ac_cpp='$CPP $CPPFLAGS' |
| 5255 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5256 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 5257 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 5258 | |
| 5259 | |
| 5260 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 5261 | printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; } |
| 5262 | if ${ac_cv_path_GREP+:} false; then : |
| 5263 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5264 | else |
| 5265 | if testscip-shell system . . test. -z "$GREP"; then |
| 5266 | ac_path_GREP_found=false |
| 5267 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 5268 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5269 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5270 | do |
| 5271 | IFS=$as_save_IFS |
| 5272 | case $as_dir in #((( |
| 5273 | '') as_dir=./ ;; |
| 5274 | */) ;; |
| 5275 | *) as_dir=$as_dir/ ;; |
| 5276 | esac |
| 5277 | for ac_prog in grep ggrep; do |
| 5278 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5279 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
| 5280 | as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$ac_path_GREP" || continue |
| 5281 | # Check for GNU ac_path_GREP and select it if it is found. |
| 5282 | # Check for GNU $ac_path_GREP |
| 5283 | case `"$ac_path_GREP" --version 2>&1` in |
| 5284 | *GNU*) |
| 5285 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 5286 | *) |
| 5287 | ac_count=0 |
| 5288 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 5289 | while : |
| 5290 | do |
| 5291 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 5292 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 5293 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 5294 | printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl" |
| 5295 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 5296 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 5297 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 5298 | if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then |
| 5299 | # Best one so far, save it but keep looking for a better one |
| 5300 | ac_cv_path_GREP="$ac_path_GREP" |
| 5301 | ac_path_GREP_max=$ac_count |
| 5302 | fi |
| 5303 | # 10*(2^10) chars as input seems more than enough |
| 5304 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 5305 | done |
| 5306 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 5307 | esac |
| 5308 | |
| 5309 | $ac_path_GREP_found && break 3 |
| 5310 | done |
| 5311 | done |
| 5312 | done |
| 5313 | IFS=$as_save_IFS |
| 5314 | if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then |
| 5315 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5316 | fi |
| 5317 | else |
| 5318 | ac_cv_path_GREP=$GREP |
| 5319 | fi |
| 5320 | |
| 5321 | fi |
| 5322 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 5323 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; } |
| 5324 | GREP="$ac_cv_path_GREP" |
| 5325 | |
| 5326 | |
| 5327 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 5328 | printfscip-shell system . . printf. %s "checking for egrep... " >&6; } |
| 5329 | if ${ac_cv_path_EGREP+:} false; then : |
| 5330 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5331 | else |
| 5332 | if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 |
| 5333 | then ac_cv_path_EGREP="$GREP -E" |
| 5334 | else |
| 5335 | if testscip-shell system . . test. -z "$EGREP"; then |
| 5336 | ac_path_EGREP_found=false |
| 5337 | # Loop through the user's path and test for each of PROGNAME-LIST |
| 5338 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5339 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 5340 | do |
| 5341 | IFS=$as_save_IFS |
| 5342 | case $as_dir in #((( |
| 5343 | '') as_dir=./ ;; |
| 5344 | */) ;; |
| 5345 | *) as_dir=$as_dir/ ;; |
| 5346 | esac |
| 5347 | for ac_prog in egrep; do |
| 5348 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5349 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
| 5350 | as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$ac_path_EGREP" || continue |
| 5351 | # Check for GNU ac_path_EGREP and select it if it is found. |
| 5352 | # Check for GNU $ac_path_EGREP |
| 5353 | case `"$ac_path_EGREP" --version 2>&1` in |
| 5354 | *GNU*) |
| 5355 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 5356 | *) |
| 5357 | ac_count=0 |
| 5358 | printfscip-shell system . . printf. %s 0123456789 >"conftest.in" |
| 5359 | while : |
| 5360 | do |
| 5361 | catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp" |
| 5362 | mvscip-shell system . . mv. "conftest.tmp" "conftest.in" |
| 5363 | cpscip-shell system . . cp. "conftest.in" "conftest.nl" |
| 5364 | printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl" |
| 5365 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break |
| 5366 | diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break |
| 5367 | as_fn_arithscip-shell shell cppi 1.18-6 as_fn_arith(). $ac_count + 1 && ac_count=$as_val |
| 5368 | if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 5369 | # Best one so far, save it but keep looking for a better one |
| 5370 | ac_cv_path_EGREP="$ac_path_EGREP" |
| 5371 | ac_path_EGREP_max=$ac_count |
| 5372 | fi |
| 5373 | # 10*(2^10) chars as input seems more than enough |
| 5374 | testscip-shell system . . test. $ac_count -gt 10 && break |
| 5375 | done |
| 5376 | rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 5377 | esac |
| 5378 | |
| 5379 | $ac_path_EGREP_found && break 3 |
| 5380 | done |
| 5381 | done |
| 5382 | done |
| 5383 | IFS=$as_save_IFS |
| 5384 | if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then |
| 5385 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 5386 | fi |
| 5387 | else |
| 5388 | ac_cv_path_EGREP=$EGREP |
| 5389 | fi |
| 5390 | |
| 5391 | fi |
| 5392 | fi |
| 5393 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 5394 | printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; } |
| 5395 | EGREP="$ac_cv_path_EGREP" |
| 5396 | |
| 5397 | |
| 5398 | |
| 5399 | |
| 5400 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 |
| 5401 | printfscip-shell system . . printf. %s "checking for Minix Amsterdam compiler... " >&6; } |
| 5402 | if ${gl_cv_c_amsterdam_compiler+:} false; then : |
| 5403 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5404 | else |
| 5405 | |
| 5406 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5407 | /* end confdefs.h. */ |
| 5408 | |
| 5409 | #ifdef __ACK__ |
| 5410 | Amsterdam |
| 5411 | #endif |
| 5412 | |
| 5413 | _ACEOF |
| 5414 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5415 | $EGREP "Amsterdam" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 5416 | gl_cv_c_amsterdam_compiler=yes |
| 5417 | else |
| 5418 | gl_cv_c_amsterdam_compiler=no |
| 5419 | fi |
| 5420 | rmscip-shell system . . rm. -f conftest* |
| 5421 | |
| 5422 | |
| 5423 | fi |
| 5424 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 |
| 5425 | printfscip-shell system . . printf. "%s\n" "$gl_cv_c_amsterdam_compiler" >&6; } |
| 5426 | if testscip-shell system . . test. -z "$AR"; then |
| 5427 | if testscip-shell system . . test. $gl_cv_c_amsterdam_compiler = yes; then |
| 5428 | AR='cc -c.a' |
| 5429 | if testscip-shell system . . test. -z "$ARFLAGS"; then |
| 5430 | ARFLAGS='-o' |
| 5431 | fi |
| 5432 | else |
| 5433 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5434 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
| 5435 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
| 5436 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5437 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5438 | if ${ac_cv_prog_AR+:} false; then : |
| 5439 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5440 | else |
| 5441 | if testscip-shell system . . test. -n "$AR"; then |
| 5442 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| 5443 | else |
| 5444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5445 | for as_dir in $PATH |
| 5446 | do |
| 5447 | IFS=$as_save_IFS |
| 5448 | case $as_dir in #((( |
| 5449 | '') as_dir=./ ;; |
| 5450 | */) ;; |
| 5451 | *) as_dir=$as_dir/ ;; |
| 5452 | esac |
| 5453 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5454 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5455 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
| 5456 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5457 | break 2 |
| 5458 | fi |
| 5459 | done |
| 5460 | done |
| 5461 | IFS=$as_save_IFS |
| 5462 | |
| 5463 | fi |
| 5464 | fi |
| 5465 | AR=$ac_cv_prog_AR |
| 5466 | if testscip-shell system . . test. -n "$AR"; then |
| 5467 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| 5468 | printfscip-shell system . . printf. "%s\n" "$AR" >&6; } |
| 5469 | else |
| 5470 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5471 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5472 | fi |
| 5473 | |
| 5474 | |
| 5475 | fi |
| 5476 | if testscip-shell system . . test. -z "$ac_cv_prog_AR"; then |
| 5477 | ac_ct_AR=$AR |
| 5478 | # Extract the first word of "ar", so it can be a program name with args. |
| 5479 | set dummy ar; ac_word=$2 |
| 5480 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5481 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5482 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| 5483 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5484 | else |
| 5485 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 5486 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
| 5487 | else |
| 5488 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5489 | for as_dir in $PATH |
| 5490 | do |
| 5491 | IFS=$as_save_IFS |
| 5492 | case $as_dir in #((( |
| 5493 | '') as_dir=./ ;; |
| 5494 | */) ;; |
| 5495 | *) as_dir=$as_dir/ ;; |
| 5496 | esac |
| 5497 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5498 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5499 | ac_cv_prog_ac_ct_AR="ar" |
| 5500 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5501 | break 2 |
| 5502 | fi |
| 5503 | done |
| 5504 | done |
| 5505 | IFS=$as_save_IFS |
| 5506 | |
| 5507 | fi |
| 5508 | fi |
| 5509 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| 5510 | if testscip-shell system . . test. -n "$ac_ct_AR"; then |
| 5511 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| 5512 | printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; } |
| 5513 | else |
| 5514 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5515 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5516 | fi |
| 5517 | |
| 5518 | if testscip-shell system . . test. "x$ac_ct_AR" = x; then |
| 5519 | AR="ar" |
| 5520 | else |
| 5521 | case $cross_compiling:$ac_tool_warned in |
| 5522 | yes:) |
| 5523 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5524 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5525 | ac_tool_warned=yes ;; |
| 5526 | esac |
| 5527 | AR=$ac_ct_AR |
| 5528 | fi |
| 5529 | else |
| 5530 | AR="$ac_cv_prog_AR" |
| 5531 | fi |
| 5532 | |
| 5533 | if testscip-shell system . . test. -z "$ARFLAGS"; then |
| 5534 | ARFLAGS='cru' |
| 5535 | fi |
| 5536 | fi |
| 5537 | else |
| 5538 | if testscip-shell system . . test. -z "$ARFLAGS"; then |
| 5539 | ARFLAGS='cru' |
| 5540 | fi |
| 5541 | fi |
| 5542 | |
| 5543 | |
| 5544 | if testscip-shell system . . test. -z "$RANLIB"; then |
| 5545 | if testscip-shell system . . test. $gl_cv_c_amsterdam_compiler = yes; then |
| 5546 | RANLIB=':' |
| 5547 | else |
| 5548 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 5549 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 5550 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 5551 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5552 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5553 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 5554 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5555 | else |
| 5556 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 5557 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 5558 | else |
| 5559 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5560 | for as_dir in $PATH |
| 5561 | do |
| 5562 | IFS=$as_save_IFS |
| 5563 | case $as_dir in #((( |
| 5564 | '') as_dir=./ ;; |
| 5565 | */) ;; |
| 5566 | *) as_dir=$as_dir/ ;; |
| 5567 | esac |
| 5568 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5569 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5570 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 5571 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5572 | break 2 |
| 5573 | fi |
| 5574 | done |
| 5575 | done |
| 5576 | IFS=$as_save_IFS |
| 5577 | |
| 5578 | fi |
| 5579 | fi |
| 5580 | RANLIB=$ac_cv_prog_RANLIB |
| 5581 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 5582 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 5583 | printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; } |
| 5584 | else |
| 5585 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5586 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5587 | fi |
| 5588 | |
| 5589 | |
| 5590 | fi |
| 5591 | if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then |
| 5592 | ac_ct_RANLIB=$RANLIB |
| 5593 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 5594 | set dummy ranlib; ac_word=$2 |
| 5595 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 5596 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 5597 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 5598 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5599 | else |
| 5600 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 5601 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 5602 | else |
| 5603 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5604 | for as_dir in $PATH |
| 5605 | do |
| 5606 | IFS=$as_save_IFS |
| 5607 | case $as_dir in #((( |
| 5608 | '') as_dir=./ ;; |
| 5609 | */) ;; |
| 5610 | *) as_dir=$as_dir/ ;; |
| 5611 | esac |
| 5612 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5613 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 5614 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 5615 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 5616 | break 2 |
| 5617 | fi |
| 5618 | done |
| 5619 | done |
| 5620 | IFS=$as_save_IFS |
| 5621 | |
| 5622 | fi |
| 5623 | fi |
| 5624 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 5625 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 5626 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 5627 | printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; } |
| 5628 | else |
| 5629 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 5630 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 5631 | fi |
| 5632 | |
| 5633 | if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then |
| 5634 | RANLIB=":" |
| 5635 | else |
| 5636 | case $cross_compiling:$ac_tool_warned in |
| 5637 | yes:) |
| 5638 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 5639 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 5640 | ac_tool_warned=yes ;; |
| 5641 | esac |
| 5642 | RANLIB=$ac_ct_RANLIB |
| 5643 | fi |
| 5644 | else |
| 5645 | RANLIB="$ac_cv_prog_RANLIB" |
| 5646 | fi |
| 5647 | |
| 5648 | fi |
| 5649 | fi |
| 5650 | |
| 5651 | |
| 5652 | # Make sure we can run config.sub. |
| 5653 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || |
| 5654 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 5655 | |
| 5656 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 5657 | printfscip-shell system . . printf. %s "checking build system type... " >&6; } |
| 5658 | if ${ac_cv_build+:} false; then : |
| 5659 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5660 | else |
| 5661 | ac_build_alias=$build_alias |
| 5662 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 5663 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 5664 | testscip-shell system . . test. "x$ac_build_alias" = x && |
| 5665 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 5666 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 5667 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 5668 | |
| 5669 | fi |
| 5670 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 5671 | printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; } |
| 5672 | case $ac_cv_build in |
| 5673 | *-*-*) ;; |
| 5674 | *) as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;; |
| 5675 | esac |
| 5676 | build=$ac_cv_build |
| 5677 | ac_save_IFS=$IFS; IFS='-' |
| 5678 | set x $ac_cv_build |
| 5679 | shift |
| 5680 | build_cpu=$1 |
| 5681 | build_vendor=$2 |
| 5682 | shift; shift |
| 5683 | # Remember, the first character of IFS is used to create $*, |
| 5684 | # except with old shells: |
| 5685 | build_os=$* |
| 5686 | IFS=$ac_save_IFS |
| 5687 | case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 5688 | |
| 5689 | |
| 5690 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 5691 | printfscip-shell system . . printf. %s "checking host system type... " >&6; } |
| 5692 | if ${ac_cv_host+:} false; then : |
| 5693 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5694 | else |
| 5695 | if testscip-shell system . . test. "x$host_alias" = x; then |
| 5696 | ac_cv_host=$ac_cv_build |
| 5697 | else |
| 5698 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 5699 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 5700 | fi |
| 5701 | |
| 5702 | fi |
| 5703 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 5704 | printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; } |
| 5705 | case $ac_cv_host in |
| 5706 | *-*-*) ;; |
| 5707 | *) as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;; |
| 5708 | esac |
| 5709 | host=$ac_cv_host |
| 5710 | ac_save_IFS=$IFS; IFS='-' |
| 5711 | set x $ac_cv_host |
| 5712 | shift |
| 5713 | host_cpu=$1 |
| 5714 | host_vendor=$2 |
| 5715 | shift; shift |
| 5716 | # Remember, the first character of IFS is used to create $*, |
| 5717 | # except with old shells: |
| 5718 | host_os=$* |
| 5719 | IFS=$ac_save_IFS |
| 5720 | case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac |
| 5721 | |
| 5722 | |
| 5723 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 5724 | printfscip-shell system . . printf. %s "checking for ANSI C header files... " >&6; } |
| 5725 | if ${ac_cv_header_stdc+:} false; then : |
| 5726 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5727 | else |
| 5728 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5729 | /* end confdefs.h. */ |
| 5730 | #include <stdlib.h> |
| 5731 | #include <stdarg.h> |
| 5732 | #include <string.h> |
| 5733 | #include <float.h> |
| 5734 | |
| 5735 | int |
| 5736 | main () |
| 5737 | { |
| 5738 | |
| 5739 | ; |
| 5740 | return 0; |
| 5741 | } |
| 5742 | _ACEOF |
| 5743 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 5744 | ac_cv_header_stdc=yes |
| 5745 | else |
| 5746 | ac_cv_header_stdc=no |
| 5747 | fi |
| 5748 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5749 | |
| 5750 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 5751 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 5752 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5753 | /* end confdefs.h. */ |
| 5754 | #include <string.h> |
| 5755 | |
| 5756 | _ACEOF |
| 5757 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5758 | $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 5759 | |
| 5760 | else |
| 5761 | ac_cv_header_stdc=no |
| 5762 | fi |
| 5763 | rmscip-shell system . . rm. -f conftest* |
| 5764 | |
| 5765 | fi |
| 5766 | |
| 5767 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 5768 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 5769 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5770 | /* end confdefs.h. */ |
| 5771 | #include <stdlib.h> |
| 5772 | |
| 5773 | _ACEOF |
| 5774 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5775 | $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 5776 | |
| 5777 | else |
| 5778 | ac_cv_header_stdc=no |
| 5779 | fi |
| 5780 | rmscip-shell system . . rm. -f conftest* |
| 5781 | |
| 5782 | fi |
| 5783 | |
| 5784 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 5785 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 5786 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 5787 | : |
| 5788 | else |
| 5789 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5790 | /* end confdefs.h. */ |
| 5791 | #include <ctype.h> |
| 5792 | #include <stdlib.h> |
| 5793 | #if ((' ' & 0x0FF) == 0x020) |
| 5794 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5795 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 5796 | #else |
| 5797 | # define ISLOWER(c) \ |
| 5798 | (('a' <= (c) && (c) <= 'i') \ |
| 5799 | || ('j' <= (c) && (c) <= 'r') \ |
| 5800 | || ('s' <= (c) && (c) <= 'z')) |
| 5801 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
| 5802 | #endif |
| 5803 | |
| 5804 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 5805 | int |
| 5806 | main () |
| 5807 | { |
| 5808 | int i; |
| 5809 | for (i = 0; i < 256; i++) |
| 5810 | if (XOR (islower (i), ISLOWER (i)) |
| 5811 | || toupper (i) != TOUPPER (i)) |
| 5812 | return 2; |
| 5813 | return 0; |
| 5814 | } |
| 5815 | _ACEOF |
| 5816 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 5817 | |
| 5818 | else |
| 5819 | ac_cv_header_stdc=no |
| 5820 | fi |
| 5821 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 5822 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 5823 | fi |
| 5824 | |
| 5825 | fi |
| 5826 | fi |
| 5827 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 5828 | printfscip-shell system . . printf. "%s\n" "$ac_cv_header_stdc" >&6; } |
| 5829 | if testscip-shell system . . test. $ac_cv_header_stdc = yes; then |
| 5830 | |
| 5831 | printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
| 5832 | |
| 5833 | fi |
| 5834 | |
| 5835 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 5836 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 5837 | inttypes.h stdint.h unistd.h |
| 5838 | do : |
| 5839 | as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5840 | ac_fn_c_check_header_compilescip-shell shell cppi 1.18-6 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 5841 | " |
| 5842 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 5843 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 5844 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 5845 | _ACEOF |
| 5846 | |
| 5847 | fi |
| 5848 | |
| 5849 | done |
| 5850 | |
| 5851 | |
| 5852 | |
| 5853 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
| 5854 | if testscip-shell system . . test. "x$ac_cv_header_minix_config_h" = xyes; then : |
| 5855 | MINIX=yes |
| 5856 | else |
| 5857 | MINIX= |
| 5858 | fi |
| 5859 | |
| 5860 | |
| 5861 | if testscip-shell system . . test. "$MINIX" = yes; then |
| 5862 | |
| 5863 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h |
| 5864 | |
| 5865 | |
| 5866 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 5867 | |
| 5868 | |
| 5869 | printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h |
| 5870 | |
| 5871 | |
| 5872 | printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h |
| 5873 | |
| 5874 | fi |
| 5875 | |
| 5876 | |
| 5877 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 5878 | printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
| 5879 | if ${ac_cv_safe_to_define___extensions__+:} false; then : |
| 5880 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5881 | else |
| 5882 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5883 | /* end confdefs.h. */ |
| 5884 | |
| 5885 | # define __EXTENSIONS__ 1 |
| 5886 | $ac_includes_default |
| 5887 | int |
| 5888 | main () |
| 5889 | { |
| 5890 | |
| 5891 | ; |
| 5892 | return 0; |
| 5893 | } |
| 5894 | _ACEOF |
| 5895 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 5896 | ac_cv_safe_to_define___extensions__=yes |
| 5897 | else |
| 5898 | ac_cv_safe_to_define___extensions__=no |
| 5899 | fi |
| 5900 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5901 | fi |
| 5902 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 |
| 5903 | printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } |
| 5904 | testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes && |
| 5905 | printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h |
| 5906 | |
| 5907 | printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h |
| 5908 | |
| 5909 | printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h |
| 5910 | |
| 5911 | printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h |
| 5912 | |
| 5913 | printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
| 5914 | |
| 5915 | printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h |
| 5916 | |
| 5917 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 |
| 5918 | printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } |
| 5919 | if ${ac_cv_should_define__xopen_source+:} false; then : |
| 5920 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 5921 | else |
| 5922 | ac_cv_should_define__xopen_source=no |
| 5923 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5924 | /* end confdefs.h. */ |
| 5925 | |
| 5926 | #include <wchar.h> |
| 5927 | mbstate_t x; |
| 5928 | int |
| 5929 | main () |
| 5930 | { |
| 5931 | |
| 5932 | ; |
| 5933 | return 0; |
| 5934 | } |
| 5935 | _ACEOF |
| 5936 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 5937 | |
| 5938 | else |
| 5939 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 5940 | /* end confdefs.h. */ |
| 5941 | |
| 5942 | #define _XOPEN_SOURCE 500 |
| 5943 | #include <wchar.h> |
| 5944 | mbstate_t x; |
| 5945 | int |
| 5946 | main () |
| 5947 | { |
| 5948 | |
| 5949 | ; |
| 5950 | return 0; |
| 5951 | } |
| 5952 | _ACEOF |
| 5953 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 5954 | ac_cv_should_define__xopen_source=yes |
| 5955 | fi |
| 5956 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5957 | fi |
| 5958 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5959 | fi |
| 5960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 |
| 5961 | printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; } |
| 5962 | testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes && |
| 5963 | printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h |
| 5964 | |
| 5965 | |
| 5966 | |
| 5967 | |
| 5968 | |
| 5969 | |
| 5970 | |
| 5971 | |
| 5972 | |
| 5973 | |
| 5974 | |
| 5975 | # Code from module announce-gen: |
| 5976 | # Code from module autobuild: |
| 5977 | |
| 5978 | |
| 5979 | |
| 5980 | |
| 5981 | if testscip-shell system . . test. -z "$AB_PACKAGE"; then |
| 5982 | AB_PACKAGE=${PACKAGE_NAME:-$PACKAGE} |
| 5983 | fi |
| 5984 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: autobuild project... $AB_PACKAGE" >&5 |
| 5985 | printfscip-shell system . . printf. "%s\n" "$as_me: autobuild project... $AB_PACKAGE" >&6;} |
| 5986 | |
| 5987 | if testscip-shell system . . test. -z "$AB_VERSION"; then |
| 5988 | AB_VERSION=${PACKAGE_VERSION:-$VERSION} |
| 5989 | fi |
| 5990 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: autobuild revision... $AB_VERSION" >&5 |
| 5991 | printfscip-shell system . . printf. "%s\n" "$as_me: autobuild revision... $AB_VERSION" >&6;} |
| 5992 | |
| 5993 | hostname=`hostnamescip-shell system . . hostname.` |
| 5994 | if testscip-shell system . . test. "$hostname"; then |
| 5995 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: autobuild hostname... $hostname" >&5 |
| 5996 | printfscip-shell system . . printf. "%s\n" "$as_me: autobuild hostname... $hostname" >&6;} |
| 5997 | fi |
| 5998 | |
| 5999 | |
| 6000 | |
| 6001 | date=`TZ=UTC0 datescip-shell system . . date. +%Y%m%dT%H%M%SZ` |
| 6002 | if testscip-shell system . . test. "$?" != 0; then |
| 6003 | date=`datescip-shell system . . date.` |
| 6004 | fi |
| 6005 | if testscip-shell system . . test. "$date"; then |
| 6006 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: autobuild timestamp... $date" >&5 |
| 6007 | printfscip-shell system . . printf. "%s\n" "$as_me: autobuild timestamp... $date" >&6;} |
| 6008 | fi |
| 6009 | |
| 6010 | # Code from module c-ctype: |
| 6011 | # Code from module c-strcase: |
| 6012 | # Code from module c-strcaseeq: |
| 6013 | # Code from module calloc: |
| 6014 | # Code from module calloc-gnu: |
| 6015 | # Code from module calloc-posix: |
| 6016 | # Code from module close-stream: |
| 6017 | # Code from module closeout: |
| 6018 | # Code from module config-h: |
| 6019 | # Code from module configmake: |
| 6020 | # Code from module do-release-commit-and-tag: |
| 6021 | # Code from module errno: |
| 6022 | # Code from module error: |
| 6023 | # Code from module exitfail: |
| 6024 | # Code from module extensions: |
| 6025 | |
| 6026 | # Code from module extern-inline: |
| 6027 | # Code from module fpending: |
| 6028 | # Code from module gendocs: |
| 6029 | # Code from module getopt-gnu: |
| 6030 | # Code from module getopt-posix: |
| 6031 | # Code from module gettext-h: |
| 6032 | # Code from module git-version-gen: |
| 6033 | # Code from module gitlog-to-changelog: |
| 6034 | # Code from module gnu-web-doc-update: |
| 6035 | # Code from module gnumakefile: |
| 6036 | # Code from module gnupload: |
| 6037 | # Code from module include_next: |
| 6038 | # Code from module intprops: |
| 6039 | # Code from module inttypes-incomplete: |
| 6040 | # Code from module lib-ignore: |
| 6041 | # Code from module localcharset: |
| 6042 | # Code from module maintainer-makefile: |
| 6043 | # Code from module malloc-gnu: |
| 6044 | # Code from module malloc-posix: |
| 6045 | # Code from module manywarnings: |
| 6046 | # Code from module mbrtowc: |
| 6047 | # Code from module mbsinit: |
| 6048 | # Code from module msvc-inval: |
| 6049 | # Code from module msvc-nothrow: |
| 6050 | # Code from module multiarch: |
| 6051 | # Code from module nocrash: |
| 6052 | # Code from module non-recursive-gnulib-prefix-hack: |
| 6053 | # Code from module obstack: |
| 6054 | # Code from module progname: |
| 6055 | # Code from module quote: |
| 6056 | # Code from module quotearg: |
| 6057 | # Code from module quotearg-simple: |
| 6058 | # Code from module readme-release: |
| 6059 | # Code from module realloc-gnu: |
| 6060 | # Code from module realloc-posix: |
| 6061 | # Code from module snippet/_Noreturn: |
| 6062 | # Code from module snippet/arg-nonnull: |
| 6063 | # Code from module snippet/c++defs: |
| 6064 | # Code from module snippet/warn-on-use: |
| 6065 | # Code from module ssize_t: |
| 6066 | # Code from module stat-macros: |
| 6067 | # Code from module stdarg: |
| 6068 | |
| 6069 | |
| 6070 | |
| 6071 | # Code from module stdbool: |
| 6072 | # Code from module stddef: |
| 6073 | # Code from module stdint: |
| 6074 | # Code from module stdlib: |
| 6075 | # Code from module stpcpy: |
| 6076 | # Code from module streq: |
| 6077 | # Code from module strerror: |
| 6078 | # Code from module strerror-override: |
| 6079 | # Code from module string: |
| 6080 | # Code from module sys_types: |
| 6081 | # Code from module time: |
| 6082 | # Code from module timespec: |
| 6083 | # Code from module unistd: |
| 6084 | # Code from module unlocked-io: |
| 6085 | # Code from module update-copyright: |
| 6086 | # Code from module useless-if-before-free: |
| 6087 | # Code from module vc-list-files: |
| 6088 | # Code from module verify: |
| 6089 | # Code from module version-etc: |
| 6090 | # Code from module version-etc-fsf: |
| 6091 | # Code from module warnings: |
| 6092 | # Code from module wchar: |
| 6093 | # Code from module wctype-h: |
| 6094 | # Code from module xalloc: |
| 6095 | # Code from module xalloc-die: |
| 6096 | # Code from module xalloc-oversized: |
| 6097 | # Code from module xstrtol: |
| 6098 | |
| 6099 | |
| 6100 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 6101 | printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 6102 | set x ${MAKE-make} |
| 6103 | ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 6104 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 6105 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6106 | else |
| 6107 | catscip-shell system . . cat. >conftest.make <<\_ACEOF |
| 6108 | SHELL = /bin/sh |
| 6109 | all: |
| 6110 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 6111 | _ACEOF |
| 6112 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 6113 | case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 6114 | *@@@%%%=?*=@@@%%%*) |
| 6115 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 6116 | *) |
| 6117 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 6118 | esac |
| 6119 | rmscip-shell system . . rm. -f conftest.make |
| 6120 | fi |
| 6121 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 6122 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 6123 | printfscip-shell system . . printf. "%s\n" "yes" >&6; } |
| 6124 | SET_MAKE= |
| 6125 | else |
| 6126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6127 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6128 | SET_MAKE="MAKE=${MAKE-make}" |
| 6129 | fi |
| 6130 | |
| 6131 | for ac_prog in flex lex |
| 6132 | do |
| 6133 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 6134 | set dummy $ac_prog; ac_word=$2 |
| 6135 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6136 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6137 | if ${ac_cv_prog_LEX+:} false; then : |
| 6138 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6139 | else |
| 6140 | if testscip-shell system . . test. -n "$LEX"; then |
| 6141 | ac_cv_prog_LEX="$LEX" # Let the user override the test. |
| 6142 | else |
| 6143 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6144 | for as_dir in $PATH |
| 6145 | do |
| 6146 | IFS=$as_save_IFS |
| 6147 | case $as_dir in #((( |
| 6148 | '') as_dir=./ ;; |
| 6149 | */) ;; |
| 6150 | *) as_dir=$as_dir/ ;; |
| 6151 | esac |
| 6152 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6153 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6154 | ac_cv_prog_LEX="$ac_prog" |
| 6155 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6156 | break 2 |
| 6157 | fi |
| 6158 | done |
| 6159 | done |
| 6160 | IFS=$as_save_IFS |
| 6161 | |
| 6162 | fi |
| 6163 | fi |
| 6164 | LEX=$ac_cv_prog_LEX |
| 6165 | if testscip-shell system . . test. -n "$LEX"; then |
| 6166 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 |
| 6167 | printfscip-shell system . . printf. "%s\n" "$LEX" >&6; } |
| 6168 | else |
| 6169 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6170 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6171 | fi |
| 6172 | |
| 6173 | |
| 6174 | testscip-shell system . . test. -n "$LEX" && break |
| 6175 | done |
| 6176 | testscip-shell system . . test. -n "$LEX" || LEX=":" |
| 6177 | |
| 6178 | if testscip-shell system . . test. "x$LEX" != "x:"; then |
| 6179 | catscip-shell system . . cat. >conftest.l <<_ACEOF |
| 6180 | %% |
| 6181 | a { ECHO; } |
| 6182 | b { REJECT; } |
| 6183 | c { yymore (); } |
| 6184 | d { yyless (1); } |
| 6185 | e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */ |
| 6186 | yyless ((input () != 0)); } |
| 6187 | f { unput (yytext[0]); } |
| 6188 | . { BEGIN INITIAL; } |
| 6189 | %% |
| 6190 | #ifdef YYTEXT_POINTER |
| 6191 | extern char *yytext; |
| 6192 | #endif |
| 6193 | int |
| 6194 | main (void) |
| 6195 | { |
| 6196 | return ! yylex () + ! yywrap (); |
| 6197 | } |
| 6198 | _ACEOF |
| 6199 | { { ac_try="$LEX conftest.l" |
| 6200 | case "(($ac_try" in |
| 6201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6202 | *) ac_try_echo=$ac_try;; |
| 6203 | esac |
| 6204 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 6205 | printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5 |
| 6206 | (eval "$LEX conftest.l") 2>&5 |
| 6207 | ac_status=$? |
| 6208 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 6209 | testscip-shell system . . test. $ac_status = 0; } |
| 6210 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 |
| 6211 | printfscip-shell system . . printf. %s "checking lex output file root... " >&6; } |
| 6212 | if ${ac_cv_prog_lex_root+:} false; then : |
| 6213 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6214 | else |
| 6215 | |
| 6216 | if testscip-shell system . . test. -f lex.yy.c; then |
| 6217 | ac_cv_prog_lex_root=lex.yy |
| 6218 | elif testscip-shell system . . test. -f lexyy.c; then |
| 6219 | ac_cv_prog_lex_root=lexyy |
| 6220 | else |
| 6221 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot find output from $LEX; giving up" "$LINENO" 5 |
| 6222 | fi |
| 6223 | fi |
| 6224 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 |
| 6225 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_lex_root" >&6; } |
| 6226 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
| 6227 | |
| 6228 | if testscip-shell system . . test. -z "${LEXLIB+set}"; then |
| 6229 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 |
| 6230 | printfscip-shell system . . printf. %s "checking lex library... " >&6; } |
| 6231 | if ${ac_cv_lib_lex+:} false; then : |
| 6232 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6233 | else |
| 6234 | |
| 6235 | ac_save_LIBS=$LIBS |
| 6236 | ac_cv_lib_lex='none needed' |
| 6237 | for ac_lib in '' -lfl -ll; do |
| 6238 | LIBS="$ac_lib $ac_save_LIBS" |
| 6239 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6240 | /* end confdefs.h. */ |
| 6241 | `catscip-shell system . . cat. $LEX_OUTPUT_ROOT.c` |
| 6242 | _ACEOF |
| 6243 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 6244 | ac_cv_lib_lex=$ac_lib |
| 6245 | fi |
| 6246 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 6247 | conftest$ac_exeext conftest.$ac_ext |
| 6248 | testscip-shell system . . test. "$ac_cv_lib_lex" != 'none needed' && break |
| 6249 | done |
| 6250 | LIBS=$ac_save_LIBS |
| 6251 | |
| 6252 | fi |
| 6253 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 |
| 6254 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_lex" >&6; } |
| 6255 | testscip-shell system . . test. "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex |
| 6256 | fi |
| 6257 | |
| 6258 | |
| 6259 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 |
| 6260 | printfscip-shell system . . printf. %s "checking whether yytext is a pointer... " >&6; } |
| 6261 | if ${ac_cv_prog_lex_yytext_pointer+:} false; then : |
| 6262 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6263 | else |
| 6264 | # POSIX says lex can declare yytext either as a pointer or an array; the |
| 6265 | # default is implementation-dependent. Figure out which it is, since |
| 6266 | # not all implementations provide the %pointer and %array declarations. |
| 6267 | ac_cv_prog_lex_yytext_pointer=no |
| 6268 | ac_save_LIBS=$LIBS |
| 6269 | LIBS="$LEXLIB $ac_save_LIBS" |
| 6270 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6271 | /* end confdefs.h. */ |
| 6272 | |
| 6273 | #define YYTEXT_POINTER 1 |
| 6274 | `catscip-shell system . . cat. $LEX_OUTPUT_ROOT.c` |
| 6275 | _ACEOF |
| 6276 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 6277 | ac_cv_prog_lex_yytext_pointer=yes |
| 6278 | fi |
| 6279 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 6280 | conftest$ac_exeext conftest.$ac_ext |
| 6281 | LIBS=$ac_save_LIBS |
| 6282 | |
| 6283 | fi |
| 6284 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
| 6285 | printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; } |
| 6286 | if testscip-shell system . . test. $ac_cv_prog_lex_yytext_pointer = yes; then |
| 6287 | |
| 6288 | printfscip-shell system . . printf. "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h |
| 6289 | |
| 6290 | fi |
| 6291 | rmscip-shell system . . rm. -f conftest.l $LEX_OUTPUT_ROOT.c |
| 6292 | |
| 6293 | fi |
| 6294 | if testscip-shell system . . test. "$LEX" = :; then |
| 6295 | LEX=${am_missing_run}flex |
| 6296 | fi |
| 6297 | if testscip-shell system . . test. -n "$ac_tool_prefix"; then |
| 6298 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 6299 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 6300 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6301 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6302 | if ${ac_cv_prog_RANLIB+:} false; then : |
| 6303 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6304 | else |
| 6305 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 6306 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 6307 | else |
| 6308 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6309 | for as_dir in $PATH |
| 6310 | do |
| 6311 | IFS=$as_save_IFS |
| 6312 | case $as_dir in #((( |
| 6313 | '') as_dir=./ ;; |
| 6314 | */) ;; |
| 6315 | *) as_dir=$as_dir/ ;; |
| 6316 | esac |
| 6317 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6318 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6319 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 6320 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6321 | break 2 |
| 6322 | fi |
| 6323 | done |
| 6324 | done |
| 6325 | IFS=$as_save_IFS |
| 6326 | |
| 6327 | fi |
| 6328 | fi |
| 6329 | RANLIB=$ac_cv_prog_RANLIB |
| 6330 | if testscip-shell system . . test. -n "$RANLIB"; then |
| 6331 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
| 6332 | printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; } |
| 6333 | else |
| 6334 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6335 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6336 | fi |
| 6337 | |
| 6338 | |
| 6339 | fi |
| 6340 | if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then |
| 6341 | ac_ct_RANLIB=$RANLIB |
| 6342 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 6343 | set dummy ranlib; ac_word=$2 |
| 6344 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 6345 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 6346 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
| 6347 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6348 | else |
| 6349 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 6350 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| 6351 | else |
| 6352 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 6353 | for as_dir in $PATH |
| 6354 | do |
| 6355 | IFS=$as_save_IFS |
| 6356 | case $as_dir in #((( |
| 6357 | '') as_dir=./ ;; |
| 6358 | */) ;; |
| 6359 | *) as_dir=$as_dir/ ;; |
| 6360 | esac |
| 6361 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 6362 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 6363 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 6364 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 6365 | break 2 |
| 6366 | fi |
| 6367 | done |
| 6368 | done |
| 6369 | IFS=$as_save_IFS |
| 6370 | |
| 6371 | fi |
| 6372 | fi |
| 6373 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 6374 | if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then |
| 6375 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
| 6376 | printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; } |
| 6377 | else |
| 6378 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 6379 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 6380 | fi |
| 6381 | |
| 6382 | if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then |
| 6383 | RANLIB=":" |
| 6384 | else |
| 6385 | case $cross_compiling:$ac_tool_warned in |
| 6386 | yes:) |
| 6387 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 6388 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 6389 | ac_tool_warned=yes ;; |
| 6390 | esac |
| 6391 | RANLIB=$ac_ct_RANLIB |
| 6392 | fi |
| 6393 | else |
| 6394 | RANLIB="$ac_cv_prog_RANLIB" |
| 6395 | fi |
| 6396 | |
| 6397 | |
| 6398 | |
| 6399 | |
| 6400 | |
| 6401 | |
| 6402 | |
| 6403 | LIBC_FATAL_STDERR_=1 |
| 6404 | export LIBC_FATAL_STDERR_ |
| 6405 | |
| 6406 | |
| 6407 | GNULIB__EXIT=0; |
| 6408 | GNULIB_ATOLL=0; |
| 6409 | GNULIB_CALLOC_POSIX=0; |
| 6410 | GNULIB_CANONICALIZE_FILE_NAME=0; |
| 6411 | GNULIB_GETLOADAVG=0; |
| 6412 | GNULIB_GETSUBOPT=0; |
| 6413 | GNULIB_GRANTPT=0; |
| 6414 | GNULIB_MALLOC_POSIX=0; |
| 6415 | GNULIB_MBTOWC=0; |
| 6416 | GNULIB_MKDTEMP=0; |
| 6417 | GNULIB_MKOSTEMP=0; |
| 6418 | GNULIB_MKOSTEMPS=0; |
| 6419 | GNULIB_MKSTEMP=0; |
| 6420 | GNULIB_MKSTEMPS=0; |
| 6421 | GNULIB_POSIX_OPENPT=0; |
| 6422 | GNULIB_PTSNAME=0; |
| 6423 | GNULIB_PTSNAME_R=0; |
| 6424 | GNULIB_PUTENV=0; |
| 6425 | GNULIB_RANDOM=0; |
| 6426 | GNULIB_RANDOM_R=0; |
| 6427 | GNULIB_REALLOC_POSIX=0; |
| 6428 | GNULIB_REALPATH=0; |
| 6429 | GNULIB_RPMATCH=0; |
| 6430 | GNULIB_SECURE_GETENV=0; |
| 6431 | GNULIB_SETENV=0; |
| 6432 | GNULIB_STRTOD=0; |
| 6433 | GNULIB_STRTOLL=0; |
| 6434 | GNULIB_STRTOULL=0; |
| 6435 | GNULIB_SYSTEM_POSIX=0; |
| 6436 | GNULIB_UNLOCKPT=0; |
| 6437 | GNULIB_UNSETENV=0; |
| 6438 | GNULIB_WCTOMB=0; |
| 6439 | HAVE__EXIT=1; |
| 6440 | HAVE_ATOLL=1; |
| 6441 | HAVE_CANONICALIZE_FILE_NAME=1; |
| 6442 | HAVE_DECL_GETLOADAVG=1; |
| 6443 | HAVE_GETSUBOPT=1; |
| 6444 | HAVE_GRANTPT=1; |
| 6445 | HAVE_MKDTEMP=1; |
| 6446 | HAVE_MKOSTEMP=1; |
| 6447 | HAVE_MKOSTEMPS=1; |
| 6448 | HAVE_MKSTEMP=1; |
| 6449 | HAVE_MKSTEMPS=1; |
| 6450 | HAVE_POSIX_OPENPT=1; |
| 6451 | HAVE_PTSNAME=1; |
| 6452 | HAVE_PTSNAME_R=1; |
| 6453 | HAVE_RANDOM=1; |
| 6454 | HAVE_RANDOM_H=1; |
| 6455 | HAVE_RANDOM_R=1; |
| 6456 | HAVE_REALPATH=1; |
| 6457 | HAVE_RPMATCH=1; |
| 6458 | HAVE_SECURE_GETENV=1; |
| 6459 | HAVE_SETENV=1; |
| 6460 | HAVE_DECL_SETENV=1; |
| 6461 | HAVE_STRTOD=1; |
| 6462 | HAVE_STRTOLL=1; |
| 6463 | HAVE_STRTOULL=1; |
| 6464 | HAVE_STRUCT_RANDOM_DATA=1; |
| 6465 | HAVE_SYS_LOADAVG_H=0; |
| 6466 | HAVE_UNLOCKPT=1; |
| 6467 | HAVE_DECL_UNSETENV=1; |
| 6468 | REPLACE_CALLOC=0; |
| 6469 | REPLACE_CANONICALIZE_FILE_NAME=0; |
| 6470 | REPLACE_MALLOC=0; |
| 6471 | REPLACE_MBTOWC=0; |
| 6472 | REPLACE_MKSTEMP=0; |
| 6473 | REPLACE_PTSNAME=0; |
| 6474 | REPLACE_PTSNAME_R=0; |
| 6475 | REPLACE_PUTENV=0; |
| 6476 | REPLACE_RANDOM_R=0; |
| 6477 | REPLACE_REALLOC=0; |
| 6478 | REPLACE_REALPATH=0; |
| 6479 | REPLACE_SETENV=0; |
| 6480 | REPLACE_STRTOD=0; |
| 6481 | REPLACE_UNSETENV=0; |
| 6482 | REPLACE_WCTOMB=0; |
| 6483 | |
| 6484 | ac_fn_c_check_typescip-shell shell cppi 1.18-6 ac_fn_c_check_type(). "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 6485 | if testscip-shell system . . test. "x$ac_cv_type_size_t" = xyes; then : |
| 6486 | |
| 6487 | else |
| 6488 | |
| 6489 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 6490 | #define size_t unsigned int |
| 6491 | _ACEOF |
| 6492 | |
| 6493 | fi |
| 6494 | |
| 6495 | |
| 6496 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5 |
| 6497 | printfscip-shell system . . printf. %s "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; } |
| 6498 | if ${gl_cv_func_malloc_posix+:} false; then : |
| 6499 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6500 | else |
| 6501 | |
| 6502 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6503 | /* end confdefs.h. */ |
| 6504 | |
| 6505 | int |
| 6506 | main () |
| 6507 | { |
| 6508 | #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ |
| 6509 | choke me |
| 6510 | #endif |
| 6511 | |
| 6512 | ; |
| 6513 | return 0; |
| 6514 | } |
| 6515 | _ACEOF |
| 6516 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 6517 | gl_cv_func_malloc_posix=yes |
| 6518 | else |
| 6519 | gl_cv_func_malloc_posix=no |
| 6520 | fi |
| 6521 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6522 | |
| 6523 | fi |
| 6524 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5 |
| 6525 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_malloc_posix" >&6; } |
| 6526 | |
| 6527 | |
| 6528 | |
| 6529 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 |
| 6530 | printfscip-shell system . . printf. %s "checking whether the preprocessor supports include_next... " >&6; } |
| 6531 | if ${gl_cv_have_include_next+:} false; then : |
| 6532 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6533 | else |
| 6534 | rmscip-shell system . . rm. -rf conftestd1a conftestd1b conftestd2 |
| 6535 | mkdirscip-shell system . . mkdir. conftestd1a conftestd1b conftestd2 |
| 6536 | catscip-shell system . . cat. <<EOF > conftestd1a/conftest.h |
| 6537 | #define DEFINED_IN_CONFTESTD1 |
| 6538 | #include_next <conftest.h> |
| 6539 | #ifdef DEFINED_IN_CONFTESTD2 |
| 6540 | int foo; |
| 6541 | #else |
| 6542 | #error "include_next doesn't work" |
| 6543 | #endif |
| 6544 | EOF |
| 6545 | catscip-shell system . . cat. <<EOF > conftestd1b/conftest.h |
| 6546 | #define DEFINED_IN_CONFTESTD1 |
| 6547 | #include <stdio.h> |
| 6548 | #include_next <conftest.h> |
| 6549 | #ifdef DEFINED_IN_CONFTESTD2 |
| 6550 | int foo; |
| 6551 | #else |
| 6552 | #error "include_next doesn't work" |
| 6553 | #endif |
| 6554 | EOF |
| 6555 | catscip-shell system . . cat. <<EOF > conftestd2/conftest.h |
| 6556 | #ifndef DEFINED_IN_CONFTESTD1 |
| 6557 | #error "include_next test doesn't work" |
| 6558 | #endif |
| 6559 | #define DEFINED_IN_CONFTESTD2 |
| 6560 | EOF |
| 6561 | gl_save_CPPFLAGS="$CPPFLAGS" |
| 6562 | CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" |
| 6563 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6564 | /* end confdefs.h. */ |
| 6565 | #include <conftest.h> |
| 6566 | _ACEOF |
| 6567 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 6568 | gl_cv_have_include_next=yes |
| 6569 | else |
| 6570 | CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" |
| 6571 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6572 | /* end confdefs.h. */ |
| 6573 | #include <conftest.h> |
| 6574 | _ACEOF |
| 6575 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 6576 | gl_cv_have_include_next=buggy |
| 6577 | else |
| 6578 | gl_cv_have_include_next=no |
| 6579 | fi |
| 6580 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6581 | |
| 6582 | fi |
| 6583 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6584 | CPPFLAGS="$gl_save_CPPFLAGS" |
| 6585 | rmscip-shell system . . rm. -rf conftestd1a conftestd1b conftestd2 |
| 6586 | |
| 6587 | fi |
| 6588 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 |
| 6589 | printfscip-shell system . . printf. "%s\n" "$gl_cv_have_include_next" >&6; } |
| 6590 | PRAGMA_SYSTEM_HEADER= |
| 6591 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 6592 | INCLUDE_NEXT=include_next |
| 6593 | INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next |
| 6594 | if testscip-shell system . . test. -n "$GCC"; then |
| 6595 | PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' |
| 6596 | fi |
| 6597 | else |
| 6598 | if testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 6599 | INCLUDE_NEXT=include |
| 6600 | INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next |
| 6601 | else |
| 6602 | INCLUDE_NEXT=include |
| 6603 | INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include |
| 6604 | fi |
| 6605 | fi |
| 6606 | |
| 6607 | |
| 6608 | |
| 6609 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 |
| 6610 | printfscip-shell system . . printf. %s "checking whether system header files limit the line length... " >&6; } |
| 6611 | if ${gl_cv_pragma_columns+:} false; then : |
| 6612 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6613 | else |
| 6614 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6615 | /* end confdefs.h. */ |
| 6616 | |
| 6617 | #ifdef __TANDEM |
| 6618 | choke me |
| 6619 | #endif |
| 6620 | |
| 6621 | _ACEOF |
| 6622 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6623 | $EGREP "choke me" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6624 | gl_cv_pragma_columns=yes |
| 6625 | else |
| 6626 | gl_cv_pragma_columns=no |
| 6627 | fi |
| 6628 | rmscip-shell system . . rm. -f conftest* |
| 6629 | |
| 6630 | |
| 6631 | fi |
| 6632 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 |
| 6633 | printfscip-shell system . . printf. "%s\n" "$gl_cv_pragma_columns" >&6; } |
| 6634 | if testscip-shell system . . test. $gl_cv_pragma_columns = yes; then |
| 6635 | PRAGMA_COLUMNS="#pragma COLUMNS 10000" |
| 6636 | else |
| 6637 | PRAGMA_COLUMNS= |
| 6638 | fi |
| 6639 | |
| 6640 | |
| 6641 | |
| 6642 | |
| 6643 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 |
| 6644 | printfscip-shell system . . printf. %s "checking for complete errno.h... " >&6; } |
| 6645 | if ${gl_cv_header_errno_h_complete+:} false; then : |
| 6646 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6647 | else |
| 6648 | |
| 6649 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6650 | /* end confdefs.h. */ |
| 6651 | |
| 6652 | #include <errno.h> |
| 6653 | #if !defined ETXTBSY |
| 6654 | booboo |
| 6655 | #endif |
| 6656 | #if !defined ENOMSG |
| 6657 | booboo |
| 6658 | #endif |
| 6659 | #if !defined EIDRM |
| 6660 | booboo |
| 6661 | #endif |
| 6662 | #if !defined ENOLINK |
| 6663 | booboo |
| 6664 | #endif |
| 6665 | #if !defined EPROTO |
| 6666 | booboo |
| 6667 | #endif |
| 6668 | #if !defined EMULTIHOP |
| 6669 | booboo |
| 6670 | #endif |
| 6671 | #if !defined EBADMSG |
| 6672 | booboo |
| 6673 | #endif |
| 6674 | #if !defined EOVERFLOW |
| 6675 | booboo |
| 6676 | #endif |
| 6677 | #if !defined ENOTSUP |
| 6678 | booboo |
| 6679 | #endif |
| 6680 | #if !defined ENETRESET |
| 6681 | booboo |
| 6682 | #endif |
| 6683 | #if !defined ECONNABORTED |
| 6684 | booboo |
| 6685 | #endif |
| 6686 | #if !defined ESTALE |
| 6687 | booboo |
| 6688 | #endif |
| 6689 | #if !defined EDQUOT |
| 6690 | booboo |
| 6691 | #endif |
| 6692 | #if !defined ECANCELED |
| 6693 | booboo |
| 6694 | #endif |
| 6695 | #if !defined EOWNERDEAD |
| 6696 | booboo |
| 6697 | #endif |
| 6698 | #if !defined ENOTRECOVERABLE |
| 6699 | booboo |
| 6700 | #endif |
| 6701 | #if !defined EILSEQ |
| 6702 | booboo |
| 6703 | #endif |
| 6704 | |
| 6705 | _ACEOF |
| 6706 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6707 | $EGREP "booboo" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6708 | gl_cv_header_errno_h_complete=no |
| 6709 | else |
| 6710 | gl_cv_header_errno_h_complete=yes |
| 6711 | fi |
| 6712 | rmscip-shell system . . rm. -f conftest* |
| 6713 | |
| 6714 | |
| 6715 | fi |
| 6716 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 |
| 6717 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_errno_h_complete" >&6; } |
| 6718 | if testscip-shell system . . test. $gl_cv_header_errno_h_complete = yes; then |
| 6719 | ERRNO_H='' |
| 6720 | else |
| 6721 | |
| 6722 | |
| 6723 | |
| 6724 | |
| 6725 | |
| 6726 | |
| 6727 | |
| 6728 | |
| 6729 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 6730 | gl_cv_next_errno_h='<'errno.h'>' |
| 6731 | else |
| 6732 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5 |
| 6733 | printfscip-shell system . . printf. %s "checking absolute name of <errno.h>... " >&6; } |
| 6734 | if ${gl_cv_next_errno_h+:} false; then : |
| 6735 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6736 | else |
| 6737 | |
| 6738 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6739 | /* end confdefs.h. */ |
| 6740 | #include <errno.h> |
| 6741 | |
| 6742 | _ACEOF |
| 6743 | case "$host_os" in |
| 6744 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 6745 | *) gl_absname_cpp="$ac_cpp" ;; |
| 6746 | esac |
| 6747 | |
| 6748 | case "$host_os" in |
| 6749 | mingw*) |
| 6750 | gl_dirsep_regex='[/\\]' |
| 6751 | ;; |
| 6752 | *) |
| 6753 | gl_dirsep_regex='\/' |
| 6754 | ;; |
| 6755 | esac |
| 6756 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 6757 | |
| 6758 | gl_header_literal_regex=`echoscip-shell system . . echo. 'errno.h' \ |
| 6759 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 6760 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 6761 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 6762 | s|^/[^/]|//&| |
| 6763 | p |
| 6764 | q |
| 6765 | }' |
| 6766 | gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 6767 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 6768 | |
| 6769 | |
| 6770 | fi |
| 6771 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 |
| 6772 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_errno_h" >&6; } |
| 6773 | fi |
| 6774 | NEXT_ERRNO_H=$gl_cv_next_errno_h |
| 6775 | |
| 6776 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 6777 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 6778 | gl_next_as_first_directive='<'errno.h'>' |
| 6779 | else |
| 6780 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 6781 | gl_next_as_first_directive=$gl_cv_next_errno_h |
| 6782 | fi |
| 6783 | NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive |
| 6784 | |
| 6785 | |
| 6786 | |
| 6787 | |
| 6788 | ERRNO_H='errno.h' |
| 6789 | fi |
| 6790 | |
| 6791 | if testscip-shell system . . test. -n "$ERRNO_H"; then |
| 6792 | GL_GENERATE_ERRNO_H_TRUE= |
| 6793 | GL_GENERATE_ERRNO_H_FALSE='#' |
| 6794 | else |
| 6795 | GL_GENERATE_ERRNO_H_TRUE='#' |
| 6796 | GL_GENERATE_ERRNO_H_FALSE= |
| 6797 | fi |
| 6798 | |
| 6799 | |
| 6800 | if testscip-shell system . . test. -n "$ERRNO_H"; then |
| 6801 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 |
| 6802 | printfscip-shell system . . printf. %s "checking for EMULTIHOP value... " >&6; } |
| 6803 | if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : |
| 6804 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6805 | else |
| 6806 | |
| 6807 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6808 | /* end confdefs.h. */ |
| 6809 | |
| 6810 | #include <errno.h> |
| 6811 | #ifdef EMULTIHOP |
| 6812 | yes |
| 6813 | #endif |
| 6814 | |
| 6815 | _ACEOF |
| 6816 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6817 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6818 | gl_cv_header_errno_h_EMULTIHOP=yes |
| 6819 | else |
| 6820 | gl_cv_header_errno_h_EMULTIHOP=no |
| 6821 | fi |
| 6822 | rmscip-shell system . . rm. -f conftest* |
| 6823 | |
| 6824 | if testscip-shell system . . test. $gl_cv_header_errno_h_EMULTIHOP = no; then |
| 6825 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6826 | /* end confdefs.h. */ |
| 6827 | |
| 6828 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6829 | #include <errno.h> |
| 6830 | #ifdef EMULTIHOP |
| 6831 | yes |
| 6832 | #endif |
| 6833 | |
| 6834 | _ACEOF |
| 6835 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6836 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6837 | gl_cv_header_errno_h_EMULTIHOP=hidden |
| 6838 | fi |
| 6839 | rmscip-shell system . . rm. -f conftest* |
| 6840 | |
| 6841 | if testscip-shell system . . test. $gl_cv_header_errno_h_EMULTIHOP = hidden; then |
| 6842 | if ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " |
| 6843 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6844 | #include <errno.h> |
| 6845 | /* The following two lines are a workaround against an autoconf-2.52 bug. */ |
| 6846 | #include <stdio.h> |
| 6847 | #include <stdlib.h> |
| 6848 | "; then : |
| 6849 | |
| 6850 | fi |
| 6851 | |
| 6852 | fi |
| 6853 | fi |
| 6854 | |
| 6855 | fi |
| 6856 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 |
| 6857 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_errno_h_EMULTIHOP" >&6; } |
| 6858 | case $gl_cv_header_errno_h_EMULTIHOP in |
| 6859 | yes | no) |
| 6860 | EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= |
| 6861 | ;; |
| 6862 | *) |
| 6863 | EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" |
| 6864 | ;; |
| 6865 | esac |
| 6866 | |
| 6867 | |
| 6868 | fi |
| 6869 | |
| 6870 | |
| 6871 | if testscip-shell system . . test. -n "$ERRNO_H"; then |
| 6872 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 |
| 6873 | printfscip-shell system . . printf. %s "checking for ENOLINK value... " >&6; } |
| 6874 | if ${gl_cv_header_errno_h_ENOLINK+:} false; then : |
| 6875 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6876 | else |
| 6877 | |
| 6878 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6879 | /* end confdefs.h. */ |
| 6880 | |
| 6881 | #include <errno.h> |
| 6882 | #ifdef ENOLINK |
| 6883 | yes |
| 6884 | #endif |
| 6885 | |
| 6886 | _ACEOF |
| 6887 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6888 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6889 | gl_cv_header_errno_h_ENOLINK=yes |
| 6890 | else |
| 6891 | gl_cv_header_errno_h_ENOLINK=no |
| 6892 | fi |
| 6893 | rmscip-shell system . . rm. -f conftest* |
| 6894 | |
| 6895 | if testscip-shell system . . test. $gl_cv_header_errno_h_ENOLINK = no; then |
| 6896 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6897 | /* end confdefs.h. */ |
| 6898 | |
| 6899 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6900 | #include <errno.h> |
| 6901 | #ifdef ENOLINK |
| 6902 | yes |
| 6903 | #endif |
| 6904 | |
| 6905 | _ACEOF |
| 6906 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6907 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6908 | gl_cv_header_errno_h_ENOLINK=hidden |
| 6909 | fi |
| 6910 | rmscip-shell system . . rm. -f conftest* |
| 6911 | |
| 6912 | if testscip-shell system . . test. $gl_cv_header_errno_h_ENOLINK = hidden; then |
| 6913 | if ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " |
| 6914 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6915 | #include <errno.h> |
| 6916 | /* The following two lines are a workaround against an autoconf-2.52 bug. */ |
| 6917 | #include <stdio.h> |
| 6918 | #include <stdlib.h> |
| 6919 | "; then : |
| 6920 | |
| 6921 | fi |
| 6922 | |
| 6923 | fi |
| 6924 | fi |
| 6925 | |
| 6926 | fi |
| 6927 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 |
| 6928 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_errno_h_ENOLINK" >&6; } |
| 6929 | case $gl_cv_header_errno_h_ENOLINK in |
| 6930 | yes | no) |
| 6931 | ENOLINK_HIDDEN=0; ENOLINK_VALUE= |
| 6932 | ;; |
| 6933 | *) |
| 6934 | ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" |
| 6935 | ;; |
| 6936 | esac |
| 6937 | |
| 6938 | |
| 6939 | fi |
| 6940 | |
| 6941 | |
| 6942 | if testscip-shell system . . test. -n "$ERRNO_H"; then |
| 6943 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 |
| 6944 | printfscip-shell system . . printf. %s "checking for EOVERFLOW value... " >&6; } |
| 6945 | if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : |
| 6946 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 6947 | else |
| 6948 | |
| 6949 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6950 | /* end confdefs.h. */ |
| 6951 | |
| 6952 | #include <errno.h> |
| 6953 | #ifdef EOVERFLOW |
| 6954 | yes |
| 6955 | #endif |
| 6956 | |
| 6957 | _ACEOF |
| 6958 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6959 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6960 | gl_cv_header_errno_h_EOVERFLOW=yes |
| 6961 | else |
| 6962 | gl_cv_header_errno_h_EOVERFLOW=no |
| 6963 | fi |
| 6964 | rmscip-shell system . . rm. -f conftest* |
| 6965 | |
| 6966 | if testscip-shell system . . test. $gl_cv_header_errno_h_EOVERFLOW = no; then |
| 6967 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 6968 | /* end confdefs.h. */ |
| 6969 | |
| 6970 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6971 | #include <errno.h> |
| 6972 | #ifdef EOVERFLOW |
| 6973 | yes |
| 6974 | #endif |
| 6975 | |
| 6976 | _ACEOF |
| 6977 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 6978 | $EGREP "yes" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 6979 | gl_cv_header_errno_h_EOVERFLOW=hidden |
| 6980 | fi |
| 6981 | rmscip-shell system . . rm. -f conftest* |
| 6982 | |
| 6983 | if testscip-shell system . . test. $gl_cv_header_errno_h_EOVERFLOW = hidden; then |
| 6984 | if ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " |
| 6985 | #define _XOPEN_SOURCE_EXTENDED 1 |
| 6986 | #include <errno.h> |
| 6987 | /* The following two lines are a workaround against an autoconf-2.52 bug. */ |
| 6988 | #include <stdio.h> |
| 6989 | #include <stdlib.h> |
| 6990 | "; then : |
| 6991 | |
| 6992 | fi |
| 6993 | |
| 6994 | fi |
| 6995 | fi |
| 6996 | |
| 6997 | fi |
| 6998 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 |
| 6999 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_errno_h_EOVERFLOW" >&6; } |
| 7000 | case $gl_cv_header_errno_h_EOVERFLOW in |
| 7001 | yes | no) |
| 7002 | EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= |
| 7003 | ;; |
| 7004 | *) |
| 7005 | EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" |
| 7006 | ;; |
| 7007 | esac |
| 7008 | |
| 7009 | |
| 7010 | fi |
| 7011 | |
| 7012 | |
| 7013 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" |
| 7014 | if testscip-shell system . . test. "x$ac_cv_have_decl_strerror_r" = xyes; then : |
| 7015 | ac_have_decl=1 |
| 7016 | else |
| 7017 | ac_have_decl=0 |
| 7018 | fi |
| 7019 | |
| 7020 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7021 | #define HAVE_DECL_STRERROR_R $ac_have_decl |
| 7022 | _ACEOF |
| 7023 | |
| 7024 | for ac_func in strerror_r |
| 7025 | do : |
| 7026 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). "$LINENO" "strerror_r" "ac_cv_func_strerror_r" |
| 7027 | if testscip-shell system . . test. "x$ac_cv_func_strerror_r" = xyes; then : |
| 7028 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7029 | #define HAVE_STRERROR_R 1 |
| 7030 | _ACEOF |
| 7031 | |
| 7032 | fi |
| 7033 | done |
| 7034 | |
| 7035 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 |
| 7036 | printfscip-shell system . . printf. %s "checking whether strerror_r returns char *... " >&6; } |
| 7037 | if ${ac_cv_func_strerror_r_char_p+:} false; then : |
| 7038 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7039 | else |
| 7040 | |
| 7041 | ac_cv_func_strerror_r_char_p=no |
| 7042 | if testscip-shell system . . test. $ac_cv_have_decl_strerror_r = yes; then |
| 7043 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7044 | /* end confdefs.h. */ |
| 7045 | $ac_includes_default |
| 7046 | int |
| 7047 | main () |
| 7048 | { |
| 7049 | |
| 7050 | char buf[100]; |
| 7051 | char x = *strerror_r (0, buf, sizeof buf); |
| 7052 | char *p = strerror_r (0, buf, sizeof buf); |
| 7053 | return !p || x; |
| 7054 | |
| 7055 | ; |
| 7056 | return 0; |
| 7057 | } |
| 7058 | _ACEOF |
| 7059 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 7060 | ac_cv_func_strerror_r_char_p=yes |
| 7061 | fi |
| 7062 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 7063 | else |
| 7064 | # strerror_r is not declared. Choose between |
| 7065 | # systems that have relatively inaccessible declarations for the |
| 7066 | # function. BeOS and DEC UNIX 4.0 fall in this category, but the |
| 7067 | # former has a strerror_r that returns char*, while the latter |
| 7068 | # has a strerror_r that returns `int'. |
| 7069 | # This test should segfault on the DEC system. |
| 7070 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7071 | : |
| 7072 | else |
| 7073 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7074 | /* end confdefs.h. */ |
| 7075 | $ac_includes_default |
| 7076 | extern char *strerror_r (); |
| 7077 | int |
| 7078 | main () |
| 7079 | { |
| 7080 | char buf[100]; |
| 7081 | char x = *strerror_r (0, buf, sizeof buf); |
| 7082 | return ! isalpha (x); |
| 7083 | ; |
| 7084 | return 0; |
| 7085 | } |
| 7086 | _ACEOF |
| 7087 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7088 | ac_cv_func_strerror_r_char_p=yes |
| 7089 | fi |
| 7090 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7091 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7092 | fi |
| 7093 | |
| 7094 | fi |
| 7095 | |
| 7096 | fi |
| 7097 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 |
| 7098 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } |
| 7099 | if testscip-shell system . . test. $ac_cv_func_strerror_r_char_p = yes; then |
| 7100 | |
| 7101 | printfscip-shell system . . printf. "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h |
| 7102 | |
| 7103 | fi |
| 7104 | |
| 7105 | |
| 7106 | XGETTEXT_EXTRA_OPTIONS= |
| 7107 | |
| 7108 | |
| 7109 | |
| 7110 | |
| 7111 | |
| 7112 | |
| 7113 | |
| 7114 | for ac_header in $ac_header_list |
| 7115 | do : |
| 7116 | as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` |
| 7117 | ac_fn_c_check_header_compilescip-shell shell cppi 1.18-6 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 7118 | " |
| 7119 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 7120 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7121 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 7122 | _ACEOF |
| 7123 | |
| 7124 | fi |
| 7125 | |
| 7126 | done |
| 7127 | |
| 7128 | |
| 7129 | |
| 7130 | |
| 7131 | |
| 7132 | |
| 7133 | for ac_func in $ac_func_list |
| 7134 | do : |
| 7135 | as_ac_var=`printfscip-shell system . . printf. "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` |
| 7136 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). "$LINENO" "$ac_func" "$as_ac_var" |
| 7137 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
| 7138 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7139 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 7140 | _ACEOF |
| 7141 | |
| 7142 | fi |
| 7143 | done |
| 7144 | |
| 7145 | |
| 7146 | |
| 7147 | |
| 7148 | GNULIB_CHDIR=0; |
| 7149 | GNULIB_CHOWN=0; |
| 7150 | GNULIB_CLOSE=0; |
| 7151 | GNULIB_DUP=0; |
| 7152 | GNULIB_DUP2=0; |
| 7153 | GNULIB_DUP3=0; |
| 7154 | GNULIB_ENVIRON=0; |
| 7155 | GNULIB_EUIDACCESS=0; |
| 7156 | GNULIB_FACCESSAT=0; |
| 7157 | GNULIB_FCHDIR=0; |
| 7158 | GNULIB_FCHOWNAT=0; |
| 7159 | GNULIB_FDATASYNC=0; |
| 7160 | GNULIB_FSYNC=0; |
| 7161 | GNULIB_FTRUNCATE=0; |
| 7162 | GNULIB_GETCWD=0; |
| 7163 | GNULIB_GETDOMAINNAME=0; |
| 7164 | GNULIB_GETDTABLESIZE=0; |
| 7165 | GNULIB_GETGROUPS=0; |
| 7166 | GNULIB_GETHOSTNAME=0; |
| 7167 | GNULIB_GETLOGIN=0; |
| 7168 | GNULIB_GETLOGIN_R=0; |
| 7169 | GNULIB_GETPAGESIZE=0; |
| 7170 | GNULIB_GETUSERSHELL=0; |
| 7171 | GNULIB_GROUP_MEMBER=0; |
| 7172 | GNULIB_ISATTY=0; |
| 7173 | GNULIB_LCHOWN=0; |
| 7174 | GNULIB_LINK=0; |
| 7175 | GNULIB_LINKAT=0; |
| 7176 | GNULIB_LSEEK=0; |
| 7177 | GNULIB_PIPE=0; |
| 7178 | GNULIB_PIPE2=0; |
| 7179 | GNULIB_PREAD=0; |
| 7180 | GNULIB_PWRITE=0; |
| 7181 | GNULIB_READ=0; |
| 7182 | GNULIB_READLINK=0; |
| 7183 | GNULIB_READLINKAT=0; |
| 7184 | GNULIB_RMDIR=0; |
| 7185 | GNULIB_SETHOSTNAME=0; |
| 7186 | GNULIB_SLEEP=0; |
| 7187 | GNULIB_SYMLINK=0; |
| 7188 | GNULIB_SYMLINKAT=0; |
| 7189 | GNULIB_TTYNAME_R=0; |
| 7190 | GNULIB_UNISTD_H_NONBLOCKING=0; |
| 7191 | GNULIB_UNISTD_H_SIGPIPE=0; |
| 7192 | GNULIB_UNLINK=0; |
| 7193 | GNULIB_UNLINKAT=0; |
| 7194 | GNULIB_USLEEP=0; |
| 7195 | GNULIB_WRITE=0; |
| 7196 | HAVE_CHOWN=1; |
| 7197 | HAVE_DUP2=1; |
| 7198 | HAVE_DUP3=1; |
| 7199 | HAVE_EUIDACCESS=1; |
| 7200 | HAVE_FACCESSAT=1; |
| 7201 | HAVE_FCHDIR=1; |
| 7202 | HAVE_FCHOWNAT=1; |
| 7203 | HAVE_FDATASYNC=1; |
| 7204 | HAVE_FSYNC=1; |
| 7205 | HAVE_FTRUNCATE=1; |
| 7206 | HAVE_GETDTABLESIZE=1; |
| 7207 | HAVE_GETGROUPS=1; |
| 7208 | HAVE_GETHOSTNAME=1; |
| 7209 | HAVE_GETLOGIN=1; |
| 7210 | HAVE_GETPAGESIZE=1; |
| 7211 | HAVE_GROUP_MEMBER=1; |
| 7212 | HAVE_LCHOWN=1; |
| 7213 | HAVE_LINK=1; |
| 7214 | HAVE_LINKAT=1; |
| 7215 | HAVE_PIPE=1; |
| 7216 | HAVE_PIPE2=1; |
| 7217 | HAVE_PREAD=1; |
| 7218 | HAVE_PWRITE=1; |
| 7219 | HAVE_READLINK=1; |
| 7220 | HAVE_READLINKAT=1; |
| 7221 | HAVE_SETHOSTNAME=1; |
| 7222 | HAVE_SLEEP=1; |
| 7223 | HAVE_SYMLINK=1; |
| 7224 | HAVE_SYMLINKAT=1; |
| 7225 | HAVE_UNLINKAT=1; |
| 7226 | HAVE_USLEEP=1; |
| 7227 | HAVE_DECL_ENVIRON=1; |
| 7228 | HAVE_DECL_FCHDIR=1; |
| 7229 | HAVE_DECL_FDATASYNC=1; |
| 7230 | HAVE_DECL_GETDOMAINNAME=1; |
| 7231 | HAVE_DECL_GETLOGIN_R=1; |
| 7232 | HAVE_DECL_GETPAGESIZE=1; |
| 7233 | HAVE_DECL_GETUSERSHELL=1; |
| 7234 | HAVE_DECL_SETHOSTNAME=1; |
| 7235 | HAVE_DECL_TTYNAME_R=1; |
| 7236 | HAVE_OS_H=0; |
| 7237 | HAVE_SYS_PARAM_H=0; |
| 7238 | REPLACE_CHOWN=0; |
| 7239 | REPLACE_CLOSE=0; |
| 7240 | REPLACE_DUP=0; |
| 7241 | REPLACE_DUP2=0; |
| 7242 | REPLACE_FCHOWNAT=0; |
| 7243 | REPLACE_FTRUNCATE=0; |
| 7244 | REPLACE_GETCWD=0; |
| 7245 | REPLACE_GETDOMAINNAME=0; |
| 7246 | REPLACE_GETLOGIN_R=0; |
| 7247 | REPLACE_GETGROUPS=0; |
| 7248 | REPLACE_GETPAGESIZE=0; |
| 7249 | REPLACE_ISATTY=0; |
| 7250 | REPLACE_LCHOWN=0; |
| 7251 | REPLACE_LINK=0; |
| 7252 | REPLACE_LINKAT=0; |
| 7253 | REPLACE_LSEEK=0; |
| 7254 | REPLACE_PREAD=0; |
| 7255 | REPLACE_PWRITE=0; |
| 7256 | REPLACE_READ=0; |
| 7257 | REPLACE_READLINK=0; |
| 7258 | REPLACE_RMDIR=0; |
| 7259 | REPLACE_SLEEP=0; |
| 7260 | REPLACE_SYMLINK=0; |
| 7261 | REPLACE_TTYNAME_R=0; |
| 7262 | REPLACE_UNLINK=0; |
| 7263 | REPLACE_UNLINKAT=0; |
| 7264 | REPLACE_USLEEP=0; |
| 7265 | REPLACE_WRITE=0; |
| 7266 | UNISTD_H_HAVE_WINSOCK2_H=0; |
| 7267 | UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; |
| 7268 | |
| 7269 | |
| 7270 | |
| 7271 | |
| 7272 | |
| 7273 | |
| 7274 | |
| 7275 | |
| 7276 | |
| 7277 | |
| 7278 | |
| 7279 | |
| 7280 | |
| 7281 | |
| 7282 | |
| 7283 | |
| 7284 | |
| 7285 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 7286 | gl_cv_next_getopt_h='<'getopt.h'>' |
| 7287 | else |
| 7288 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <getopt.h>" >&5 |
| 7289 | printfscip-shell system . . printf. %s "checking absolute name of <getopt.h>... " >&6; } |
| 7290 | if ${gl_cv_next_getopt_h+:} false; then : |
| 7291 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7292 | else |
| 7293 | |
| 7294 | if testscip-shell system . . test. $ac_cv_header_getopt_h = yes; then |
| 7295 | |
| 7296 | |
| 7297 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7298 | /* end confdefs.h. */ |
| 7299 | #include <getopt.h> |
| 7300 | |
| 7301 | _ACEOF |
| 7302 | case "$host_os" in |
| 7303 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 7304 | *) gl_absname_cpp="$ac_cpp" ;; |
| 7305 | esac |
| 7306 | |
| 7307 | case "$host_os" in |
| 7308 | mingw*) |
| 7309 | gl_dirsep_regex='[/\\]' |
| 7310 | ;; |
| 7311 | *) |
| 7312 | gl_dirsep_regex='\/' |
| 7313 | ;; |
| 7314 | esac |
| 7315 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 7316 | |
| 7317 | gl_header_literal_regex=`echoscip-shell system . . echo. 'getopt.h' \ |
| 7318 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 7319 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 7320 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 7321 | s|^/[^/]|//&| |
| 7322 | p |
| 7323 | q |
| 7324 | }' |
| 7325 | gl_cv_next_getopt_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 7326 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 7327 | else |
| 7328 | gl_cv_next_getopt_h='<'getopt.h'>' |
| 7329 | fi |
| 7330 | |
| 7331 | |
| 7332 | fi |
| 7333 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_getopt_h" >&5 |
| 7334 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_getopt_h" >&6; } |
| 7335 | fi |
| 7336 | NEXT_GETOPT_H=$gl_cv_next_getopt_h |
| 7337 | |
| 7338 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 7339 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 7340 | gl_next_as_first_directive='<'getopt.h'>' |
| 7341 | else |
| 7342 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 7343 | gl_next_as_first_directive=$gl_cv_next_getopt_h |
| 7344 | fi |
| 7345 | NEXT_AS_FIRST_DIRECTIVE_GETOPT_H=$gl_next_as_first_directive |
| 7346 | |
| 7347 | |
| 7348 | |
| 7349 | |
| 7350 | if testscip-shell system . . test. $ac_cv_header_getopt_h = yes; then |
| 7351 | HAVE_GETOPT_H=1 |
| 7352 | else |
| 7353 | HAVE_GETOPT_H=0 |
| 7354 | fi |
| 7355 | |
| 7356 | |
| 7357 | gl_replace_getopt= |
| 7358 | |
| 7359 | if testscip-shell system . . test. -z "$gl_replace_getopt" && testscip-shell system . . test. $gl_getopt_required = GNU; then |
| 7360 | for ac_header in getopt.h |
| 7361 | do : |
| 7362 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
| 7363 | if testscip-shell system . . test. "x$ac_cv_header_getopt_h" = xyes; then : |
| 7364 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7365 | #define HAVE_GETOPT_H 1 |
| 7366 | _ACEOF |
| 7367 | |
| 7368 | else |
| 7369 | gl_replace_getopt=yes |
| 7370 | fi |
| 7371 | |
| 7372 | done |
| 7373 | |
| 7374 | fi |
| 7375 | |
| 7376 | if testscip-shell system . . test. -z "$gl_replace_getopt" && testscip-shell system . . test. $gl_getopt_required = GNU; then |
| 7377 | for ac_func in getopt_long_only |
| 7378 | do : |
| 7379 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). "$LINENO" "getopt_long_only" "ac_cv_func_getopt_long_only" |
| 7380 | if testscip-shell system . . test. "x$ac_cv_func_getopt_long_only" = xyes; then : |
| 7381 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7382 | #define HAVE_GETOPT_LONG_ONLY 1 |
| 7383 | _ACEOF |
| 7384 | |
| 7385 | else |
| 7386 | gl_replace_getopt=yes |
| 7387 | fi |
| 7388 | done |
| 7389 | |
| 7390 | fi |
| 7391 | |
| 7392 | if testscip-shell system . . test. -z "$gl_replace_getopt"; then |
| 7393 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getopt is POSIX compatible" >&5 |
| 7394 | printfscip-shell system . . printf. %s "checking whether getopt is POSIX compatible... " >&6; } |
| 7395 | if ${gl_cv_func_getopt_posix+:} false; then : |
| 7396 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7397 | else |
| 7398 | |
| 7399 | if testscip-shell system . . test. $cross_compiling = no; then |
| 7400 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7401 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7402 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7403 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot run test program while cross compiling |
| 7404 | See \`config.log' for more details" "$LINENO" 5; } |
| 7405 | else |
| 7406 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7407 | /* end confdefs.h. */ |
| 7408 | |
| 7409 | #include <unistd.h> |
| 7410 | #include <stdlib.h> |
| 7411 | #include <string.h> |
| 7412 | |
| 7413 | int |
| 7414 | main () |
| 7415 | { |
| 7416 | static char program[] = "program"; |
| 7417 | static char a[] = "-a"; |
| 7418 | static char foo[] = "foo"; |
| 7419 | static char bar[] = "bar"; |
| 7420 | char *argv[] = { program, a, foo, bar, NULL }; |
| 7421 | int c; |
| 7422 | |
| 7423 | c = getopt (4, argv, "ab"); |
| 7424 | if (!(c == 'a')) |
| 7425 | return 1; |
| 7426 | c = getopt (4, argv, "ab"); |
| 7427 | if (!(c == -1)) |
| 7428 | return 2; |
| 7429 | if (!(optind == 2)) |
| 7430 | return 3; |
| 7431 | return 0; |
| 7432 | } |
| 7433 | |
| 7434 | _ACEOF |
| 7435 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7436 | gl_cv_func_getopt_posix=maybe |
| 7437 | else |
| 7438 | gl_cv_func_getopt_posix=no |
| 7439 | fi |
| 7440 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7441 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7442 | fi |
| 7443 | |
| 7444 | if testscip-shell system . . test. $gl_cv_func_getopt_posix = maybe; then |
| 7445 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7446 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7447 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7448 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot run test program while cross compiling |
| 7449 | See \`config.log' for more details" "$LINENO" 5; } |
| 7450 | else |
| 7451 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7452 | /* end confdefs.h. */ |
| 7453 | |
| 7454 | #include <unistd.h> |
| 7455 | #include <stdlib.h> |
| 7456 | #include <string.h> |
| 7457 | |
| 7458 | int |
| 7459 | main () |
| 7460 | { |
| 7461 | static char program[] = "program"; |
| 7462 | static char donald[] = "donald"; |
| 7463 | static char p[] = "-p"; |
| 7464 | static char billy[] = "billy"; |
| 7465 | static char duck[] = "duck"; |
| 7466 | static char a[] = "-a"; |
| 7467 | static char bar[] = "bar"; |
| 7468 | char *argv[] = { program, donald, p, billy, duck, a, bar, NULL }; |
| 7469 | int c; |
| 7470 | |
| 7471 | c = getopt (7, argv, "+abp:q:"); |
| 7472 | if (!(c == -1)) |
| 7473 | return 4; |
| 7474 | if (!(strcmp (argv[0], "program") == 0)) |
| 7475 | return 5; |
| 7476 | if (!(strcmp (argv[1], "donald") == 0)) |
| 7477 | return 6; |
| 7478 | if (!(strcmp (argv[2], "-p") == 0)) |
| 7479 | return 7; |
| 7480 | if (!(strcmp (argv[3], "billy") == 0)) |
| 7481 | return 8; |
| 7482 | if (!(strcmp (argv[4], "duck") == 0)) |
| 7483 | return 9; |
| 7484 | if (!(strcmp (argv[5], "-a") == 0)) |
| 7485 | return 10; |
| 7486 | if (!(strcmp (argv[6], "bar") == 0)) |
| 7487 | return 11; |
| 7488 | if (!(optind == 1)) |
| 7489 | return 12; |
| 7490 | return 0; |
| 7491 | } |
| 7492 | |
| 7493 | _ACEOF |
| 7494 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7495 | gl_cv_func_getopt_posix=maybe |
| 7496 | else |
| 7497 | gl_cv_func_getopt_posix=no |
| 7498 | fi |
| 7499 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7500 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7501 | fi |
| 7502 | |
| 7503 | fi |
| 7504 | if testscip-shell system . . test. $gl_cv_func_getopt_posix = maybe; then |
| 7505 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7506 | { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 7507 | printfscip-shell system . . printf. "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
| 7508 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "cannot run test program while cross compiling |
| 7509 | See \`config.log' for more details" "$LINENO" 5; } |
| 7510 | else |
| 7511 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7512 | /* end confdefs.h. */ |
| 7513 | |
| 7514 | #include <unistd.h> |
| 7515 | #include <stdlib.h> |
| 7516 | #include <string.h> |
| 7517 | |
| 7518 | int |
| 7519 | main () |
| 7520 | { |
| 7521 | static char program[] = "program"; |
| 7522 | static char ab[] = "-ab"; |
| 7523 | char *argv[3] = { program, ab, NULL }; |
| 7524 | if (getopt (2, argv, "ab:") != 'a') |
| 7525 | return 13; |
| 7526 | if (getopt (2, argv, "ab:") != '?') |
| 7527 | return 14; |
| 7528 | if (optopt != 'b') |
| 7529 | return 15; |
| 7530 | if (optind != 2) |
| 7531 | return 16; |
| 7532 | return 0; |
| 7533 | } |
| 7534 | |
| 7535 | _ACEOF |
| 7536 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7537 | gl_cv_func_getopt_posix=yes |
| 7538 | else |
| 7539 | gl_cv_func_getopt_posix=no |
| 7540 | fi |
| 7541 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7542 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7543 | fi |
| 7544 | |
| 7545 | fi |
| 7546 | else |
| 7547 | case "$host_os" in |
| 7548 | darwin* | aix* | mingw*) gl_cv_func_getopt_posix="guessing no";; |
| 7549 | *) gl_cv_func_getopt_posix="guessing yes";; |
| 7550 | esac |
| 7551 | fi |
| 7552 | |
| 7553 | fi |
| 7554 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_posix" >&5 |
| 7555 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_getopt_posix" >&6; } |
| 7556 | case "$gl_cv_func_getopt_posix" in |
| 7557 | *no) gl_replace_getopt=yes ;; |
| 7558 | esac |
| 7559 | fi |
| 7560 | |
| 7561 | if testscip-shell system . . test. -z "$gl_replace_getopt" && testscip-shell system . . test. $gl_getopt_required = GNU; then |
| 7562 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt function" >&5 |
| 7563 | printfscip-shell system . . printf. %s "checking for working GNU getopt function... " >&6; } |
| 7564 | if ${gl_cv_func_getopt_gnu+:} false; then : |
| 7565 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7566 | else |
| 7567 | # Even with POSIXLY_CORRECT, the GNU extension of leading '-' in the |
| 7568 | # optstring is necessary for programs like m4 that have POSIX-mandated |
| 7569 | # semantics for supporting options interspersed with files. |
| 7570 | # Also, since getopt_long is a GNU extension, we require optind=0. |
| 7571 | # Bash ties 'set -o posix' to a non-exported POSIXLY_CORRECT; |
| 7572 | # so take care to revert to the correct (non-)export state. |
| 7573 | gl_awk_probe='BEGIN { if ("POSIXLY_CORRECT" in ENVIRON) print "x" }' |
| 7574 | case ${POSIXLY_CORRECT+x}`$AWK "$gl_awk_probe" </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 7575 | xx) gl_had_POSIXLY_CORRECT=exported ;; |
| 7576 | x) gl_had_POSIXLY_CORRECT=yes ;; |
| 7577 | *) gl_had_POSIXLY_CORRECT= ;; |
| 7578 | esac |
| 7579 | POSIXLY_CORRECT=1 |
| 7580 | export POSIXLY_CORRECT |
| 7581 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7582 | gl_cv_func_getopt_gnu="guessing no" |
| 7583 | |
| 7584 | else |
| 7585 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7586 | /* end confdefs.h. */ |
| 7587 | #include <getopt.h> |
| 7588 | #include <stddef.h> |
| 7589 | #include <string.h> |
| 7590 | |
| 7591 | #include <stdlib.h> |
| 7592 | #if defined __MACH__ && defined __APPLE__ |
| 7593 | /* Avoid a crash on Mac OS X. */ |
| 7594 | #include <mach/mach.h> |
| 7595 | #include <mach/mach_error.h> |
| 7596 | #include <mach/thread_status.h> |
| 7597 | #include <mach/exception.h> |
| 7598 | #include <mach/task.h> |
| 7599 | #include <pthread.h> |
| 7600 | /* The exception port on which our thread listens. */ |
| 7601 | static mach_port_t our_exception_port; |
| 7602 | /* The main function of the thread listening for exceptions of type |
| 7603 | EXC_BAD_ACCESS. */ |
| 7604 | static void * |
| 7605 | mach_exception_thread (void *arg) |
| 7606 | { |
| 7607 | /* Buffer for a message to be received. */ |
| 7608 | struct { |
| 7609 | mach_msg_header_t head; |
| 7610 | mach_msg_body_t msgh_body; |
| 7611 | char data[1024]; |
| 7612 | } msg; |
| 7613 | mach_msg_return_t retval; |
| 7614 | /* Wait for a message on the exception port. */ |
| 7615 | retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), |
| 7616 | our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); |
| 7617 | if (retval != MACH_MSG_SUCCESS) |
| 7618 | abort (); |
| 7619 | exit (1); |
| 7620 | } |
| 7621 | static void |
| 7622 | nocrash_init (void) |
| 7623 | { |
| 7624 | mach_port_t self = mach_task_self (); |
| 7625 | /* Allocate a port on which the thread shall listen for exceptions. */ |
| 7626 | if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) |
| 7627 | == KERN_SUCCESS) { |
| 7628 | /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ |
| 7629 | if (mach_port_insert_right (self, our_exception_port, our_exception_port, |
| 7630 | MACH_MSG_TYPE_MAKE_SEND) |
| 7631 | == KERN_SUCCESS) { |
| 7632 | /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting |
| 7633 | for us. */ |
| 7634 | exception_mask_t mask = EXC_MASK_BAD_ACCESS; |
| 7635 | /* Create the thread listening on the exception port. */ |
| 7636 | pthread_attr_t attr; |
| 7637 | pthread_t thread; |
| 7638 | if (pthread_attr_init (&attr) == 0 |
| 7639 | && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 |
| 7640 | && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { |
| 7641 | pthread_attr_destroy (&attr); |
| 7642 | /* Replace the exception port info for these exceptions with our own. |
| 7643 | Note that we replace the exception port for the entire task, not only |
| 7644 | for a particular thread. This has the effect that when our exception |
| 7645 | port gets the message, the thread specific exception port has already |
| 7646 | been asked, and we don't need to bother about it. |
| 7647 | See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ |
| 7648 | task_set_exception_ports (self, mask, our_exception_port, |
| 7649 | EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); |
| 7650 | } |
| 7651 | } |
| 7652 | } |
| 7653 | } |
| 7654 | #elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ |
| 7655 | /* Avoid a crash on native Windows. */ |
| 7656 | #define WIN32_LEAN_AND_MEAN |
| 7657 | #include <windows.h> |
| 7658 | #include <winerror.h> |
| 7659 | static LONG WINAPI |
| 7660 | exception_filter (EXCEPTION_POINTERS *ExceptionInfo) |
| 7661 | { |
| 7662 | switch (ExceptionInfo->ExceptionRecord->ExceptionCode) |
| 7663 | { |
| 7664 | case EXCEPTION_ACCESS_VIOLATION: |
| 7665 | case EXCEPTION_IN_PAGE_ERROR: |
| 7666 | case EXCEPTION_STACK_OVERFLOW: |
| 7667 | case EXCEPTION_GUARD_PAGE: |
| 7668 | case EXCEPTION_PRIV_INSTRUCTION: |
| 7669 | case EXCEPTION_ILLEGAL_INSTRUCTION: |
| 7670 | case EXCEPTION_DATATYPE_MISALIGNMENT: |
| 7671 | case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: |
| 7672 | case EXCEPTION_NONCONTINUABLE_EXCEPTION: |
| 7673 | exit (1); |
| 7674 | } |
| 7675 | return EXCEPTION_CONTINUE_SEARCH; |
| 7676 | } |
| 7677 | static void |
| 7678 | nocrash_init (void) |
| 7679 | { |
| 7680 | SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); |
| 7681 | } |
| 7682 | #else |
| 7683 | /* Avoid a crash on POSIX systems. */ |
| 7684 | #include <signal.h> |
| 7685 | /* A POSIX signal handler. */ |
| 7686 | static void |
| 7687 | exception_handler (int sig) |
| 7688 | { |
| 7689 | exit (1); |
| 7690 | } |
| 7691 | static void |
| 7692 | nocrash_init (void) |
| 7693 | { |
| 7694 | #ifdef SIGSEGV |
| 7695 | signal (SIGSEGV, exception_handler); |
| 7696 | #endif |
| 7697 | #ifdef SIGBUS |
| 7698 | signal (SIGBUS, exception_handler); |
| 7699 | #endif |
| 7700 | } |
| 7701 | #endif |
| 7702 | |
| 7703 | |
| 7704 | int |
| 7705 | main () |
| 7706 | { |
| 7707 | |
| 7708 | int result = 0; |
| 7709 | |
| 7710 | nocrash_init(); |
| 7711 | |
| 7712 | /* This code succeeds on glibc 2.8, OpenBSD 4.0, Cygwin, mingw, |
| 7713 | and fails on Mac OS X 10.5, AIX 5.2, HP-UX 11, IRIX 6.5, |
| 7714 | OSF/1 5.1, Solaris 10. */ |
| 7715 | { |
| 7716 | static char conftest[] = "conftest"; |
| 7717 | static char plus[] = "-+"; |
| 7718 | char *argv[3] = { conftest, plus, NULL }; |
| 7719 | opterr = 0; |
| 7720 | if (getopt (2, argv, "+a") != '?') |
| 7721 | result |= 1; |
| 7722 | } |
| 7723 | /* This code succeeds on glibc 2.8, mingw, |
| 7724 | and fails on Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, HP-UX 11, |
| 7725 | IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x. */ |
| 7726 | { |
| 7727 | static char program[] = "program"; |
| 7728 | static char p[] = "-p"; |
| 7729 | static char foo[] = "foo"; |
| 7730 | static char bar[] = "bar"; |
| 7731 | char *argv[] = { program, p, foo, bar, NULL }; |
| 7732 | |
| 7733 | optind = 1; |
| 7734 | if (getopt (4, argv, "p::") != 'p') |
| 7735 | result |= 2; |
| 7736 | else if (optarg != NULL) |
| 7737 | result |= 4; |
| 7738 | else if (getopt (4, argv, "p::") != -1) |
| 7739 | result |= 6; |
| 7740 | else if (optind != 2) |
| 7741 | result |= 8; |
| 7742 | } |
| 7743 | /* This code succeeds on glibc 2.8 and fails on Cygwin 1.7.0. */ |
| 7744 | { |
| 7745 | static char program[] = "program"; |
| 7746 | static char foo[] = "foo"; |
| 7747 | static char p[] = "-p"; |
| 7748 | char *argv[] = { program, foo, p, NULL }; |
| 7749 | optind = 0; |
| 7750 | if (getopt (3, argv, "-p") != 1) |
| 7751 | result |= 16; |
| 7752 | else if (getopt (3, argv, "-p") != 'p') |
| 7753 | result |= 16; |
| 7754 | } |
| 7755 | /* This code fails on glibc 2.11. */ |
| 7756 | { |
| 7757 | static char program[] = "program"; |
| 7758 | static char b[] = "-b"; |
| 7759 | static char a[] = "-a"; |
| 7760 | char *argv[] = { program, b, a, NULL }; |
| 7761 | optind = opterr = 0; |
| 7762 | if (getopt (3, argv, "+:a:b") != 'b') |
| 7763 | result |= 32; |
| 7764 | else if (getopt (3, argv, "+:a:b") != ':') |
| 7765 | result |= 32; |
| 7766 | } |
| 7767 | /* This code dumps core on glibc 2.14. */ |
| 7768 | { |
| 7769 | static char program[] = "program"; |
| 7770 | static char w[] = "-W"; |
| 7771 | static char dummy[] = "dummy"; |
| 7772 | char *argv[] = { program, w, dummy, NULL }; |
| 7773 | optind = opterr = 1; |
| 7774 | if (getopt (3, argv, "W;") != 'W') |
| 7775 | result |= 64; |
| 7776 | } |
| 7777 | return result; |
| 7778 | |
| 7779 | ; |
| 7780 | return 0; |
| 7781 | } |
| 7782 | _ACEOF |
| 7783 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7784 | gl_cv_func_getopt_gnu=yes |
| 7785 | else |
| 7786 | gl_cv_func_getopt_gnu=no |
| 7787 | fi |
| 7788 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7789 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7790 | fi |
| 7791 | |
| 7792 | case $gl_had_POSIXLY_CORRECT in |
| 7793 | exported) ;; |
| 7794 | yes) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;}; POSIXLY_CORRECT=1 ;; |
| 7795 | *) { POSIXLY_CORRECT=; unset POSIXLY_CORRECT;} ;; |
| 7796 | esac |
| 7797 | |
| 7798 | fi |
| 7799 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_gnu" >&5 |
| 7800 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_getopt_gnu" >&6; } |
| 7801 | if testscip-shell system . . test. "$gl_cv_func_getopt_gnu" != yes; then |
| 7802 | gl_replace_getopt=yes |
| 7803 | else |
| 7804 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working GNU getopt_long function" >&5 |
| 7805 | printfscip-shell system . . printf. %s "checking for working GNU getopt_long function... " >&6; } |
| 7806 | if ${gl_cv_func_getopt_long_gnu+:} false; then : |
| 7807 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7808 | else |
| 7809 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7810 | case "$host_os" in |
| 7811 | openbsd*) gl_cv_func_getopt_long_gnu="guessing no";; |
| 7812 | *) gl_cv_func_getopt_long_gnu="guessing yes";; |
| 7813 | esac |
| 7814 | |
| 7815 | else |
| 7816 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7817 | /* end confdefs.h. */ |
| 7818 | #include <getopt.h> |
| 7819 | #include <stddef.h> |
| 7820 | #include <string.h> |
| 7821 | |
| 7822 | int |
| 7823 | main () |
| 7824 | { |
| 7825 | static const struct option long_options[] = |
| 7826 | { |
| 7827 | { "xtremely-",no_argument, NULL, 1003 }, |
| 7828 | { "xtra", no_argument, NULL, 1001 }, |
| 7829 | { "xtreme", no_argument, NULL, 1002 }, |
| 7830 | { "xtremely", no_argument, NULL, 1003 }, |
| 7831 | { NULL, 0, NULL, 0 } |
| 7832 | }; |
| 7833 | /* This code fails on OpenBSD 5.0. */ |
| 7834 | { |
| 7835 | static char program[] = "program"; |
| 7836 | static char xtremel[] = "--xtremel"; |
| 7837 | char *argv[] = { program, xtremel, NULL }; |
| 7838 | int option_index; |
| 7839 | optind = 1; opterr = 0; |
| 7840 | if (getopt_long (2, argv, "", long_options, &option_index) != 1003) |
| 7841 | return 1; |
| 7842 | } |
| 7843 | return 0; |
| 7844 | |
| 7845 | ; |
| 7846 | return 0; |
| 7847 | } |
| 7848 | _ACEOF |
| 7849 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7850 | gl_cv_func_getopt_long_gnu=yes |
| 7851 | else |
| 7852 | gl_cv_func_getopt_long_gnu=no |
| 7853 | fi |
| 7854 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 7855 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 7856 | fi |
| 7857 | |
| 7858 | |
| 7859 | fi |
| 7860 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_getopt_long_gnu" >&5 |
| 7861 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_getopt_long_gnu" >&6; } |
| 7862 | case "$gl_cv_func_getopt_long_gnu" in |
| 7863 | *yes) ;; |
| 7864 | *) gl_replace_getopt=yes ;; |
| 7865 | esac |
| 7866 | fi |
| 7867 | fi |
| 7868 | |
| 7869 | |
| 7870 | |
| 7871 | |
| 7872 | |
| 7873 | |
| 7874 | REPLACE_GETOPT=0 |
| 7875 | if testscip-shell system . . test. -n "$gl_replace_getopt"; then |
| 7876 | REPLACE_GETOPT=1 |
| 7877 | fi |
| 7878 | |
| 7879 | if testscip-shell system . . test. $REPLACE_GETOPT = 1; then |
| 7880 | |
| 7881 | GETOPT_H=getopt.h |
| 7882 | |
| 7883 | printfscip-shell system . . printf. "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h |
| 7884 | |
| 7885 | |
| 7886 | |
| 7887 | fi |
| 7888 | |
| 7889 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default" |
| 7890 | if testscip-shell system . . test. "x$ac_cv_have_decl_getenv" = xyes; then : |
| 7891 | ac_have_decl=1 |
| 7892 | else |
| 7893 | ac_have_decl=0 |
| 7894 | fi |
| 7895 | |
| 7896 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 7897 | #define HAVE_DECL_GETENV $ac_have_decl |
| 7898 | _ACEOF |
| 7899 | |
| 7900 | |
| 7901 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 |
| 7902 | printfscip-shell system . . printf. %s "checking for unsigned long long int... " >&6; } |
| 7903 | if ${ac_cv_type_unsigned_long_long_int+:} false; then : |
| 7904 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7905 | else |
| 7906 | ac_cv_type_unsigned_long_long_int=yes |
| 7907 | if testscip-shell system . . test. "x${ac_cv_prog_cc_c99-no}" = xno; then |
| 7908 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7909 | /* end confdefs.h. */ |
| 7910 | |
| 7911 | /* For now, do not test the preprocessor; as of 2007 there are too many |
| 7912 | implementations with broken preprocessors. Perhaps this can |
| 7913 | be revisited in 2012. In the meantime, code should not expect |
| 7914 | #if to work with literals wider than 32 bits. */ |
| 7915 | /* Test literals. */ |
| 7916 | long long int ll = 9223372036854775807ll; |
| 7917 | long long int nll = -9223372036854775807LL; |
| 7918 | unsigned long long int ull = 18446744073709551615ULL; |
| 7919 | /* Test constant expressions. */ |
| 7920 | typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) |
| 7921 | ? 1 : -1)]; |
| 7922 | typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 |
| 7923 | ? 1 : -1)]; |
| 7924 | int i = 63; |
| 7925 | int |
| 7926 | main () |
| 7927 | { |
| 7928 | /* Test availability of runtime routines for shift and division. */ |
| 7929 | long long int llmax = 9223372036854775807ll; |
| 7930 | unsigned long long int ullmax = 18446744073709551615ull; |
| 7931 | return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) |
| 7932 | | (llmax / ll) | (llmax % ll) |
| 7933 | | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) |
| 7934 | | (ullmax / ull) | (ullmax % ull)); |
| 7935 | ; |
| 7936 | return 0; |
| 7937 | } |
| 7938 | |
| 7939 | _ACEOF |
| 7940 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 7941 | |
| 7942 | else |
| 7943 | ac_cv_type_unsigned_long_long_int=no |
| 7944 | fi |
| 7945 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 7946 | conftest$ac_exeext conftest.$ac_ext |
| 7947 | fi |
| 7948 | fi |
| 7949 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 |
| 7950 | printfscip-shell system . . printf. "%s\n" "$ac_cv_type_unsigned_long_long_int" >&6; } |
| 7951 | if testscip-shell system . . test. $ac_cv_type_unsigned_long_long_int = yes; then |
| 7952 | |
| 7953 | printfscip-shell system . . printf. "%s\n" "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h |
| 7954 | |
| 7955 | fi |
| 7956 | |
| 7957 | |
| 7958 | |
| 7959 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 |
| 7960 | printfscip-shell system . . printf. %s "checking for long long int... " >&6; } |
| 7961 | if ${ac_cv_type_long_long_int+:} false; then : |
| 7962 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 7963 | else |
| 7964 | ac_cv_type_long_long_int=yes |
| 7965 | if testscip-shell system . . test. "x${ac_cv_prog_cc_c99-no}" = xno; then |
| 7966 | ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int |
| 7967 | if testscip-shell system . . test. $ac_cv_type_long_long_int = yes; then |
| 7968 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 7969 | : |
| 7970 | else |
| 7971 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7972 | /* end confdefs.h. */ |
| 7973 | #include <limits.h> |
| 7974 | #ifndef LLONG_MAX |
| 7975 | # define HALF \ |
| 7976 | (1LL << (sizeof (long long int) * CHAR_BIT - 2)) |
| 7977 | # define LLONG_MAX (HALF - 1 + HALF) |
| 7978 | #endif |
| 7979 | int |
| 7980 | main () |
| 7981 | { |
| 7982 | long long int n = 1; |
| 7983 | int i; |
| 7984 | for (i = 0; ; i++) |
| 7985 | { |
| 7986 | long long int m = n << i; |
| 7987 | if (m >> i != n) |
| 7988 | return 1; |
| 7989 | if (LLONG_MAX / 2 < m) |
| 7990 | break; |
| 7991 | } |
| 7992 | return 0; |
| 7993 | ; |
| 7994 | return 0; |
| 7995 | } |
| 7996 | _ACEOF |
| 7997 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 7998 | |
| 7999 | else |
| 8000 | ac_cv_type_long_long_int=no |
| 8001 | fi |
| 8002 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 8003 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 8004 | fi |
| 8005 | |
| 8006 | fi |
| 8007 | fi |
| 8008 | fi |
| 8009 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 |
| 8010 | printfscip-shell system . . printf. "%s\n" "$ac_cv_type_long_long_int" >&6; } |
| 8011 | if testscip-shell system . . test. $ac_cv_type_long_long_int = yes; then |
| 8012 | |
| 8013 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LONG_LONG_INT 1" >>confdefs.h |
| 8014 | |
| 8015 | fi |
| 8016 | |
| 8017 | |
| 8018 | |
| 8019 | |
| 8020 | |
| 8021 | |
| 8022 | gl_cv_c_multiarch=no |
| 8023 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8024 | /* end confdefs.h. */ |
| 8025 | #ifndef __APPLE_CC__ |
| 8026 | not a universal capable compiler |
| 8027 | #endif |
| 8028 | typedef int dummy; |
| 8029 | |
| 8030 | _ACEOF |
| 8031 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8032 | |
| 8033 | arch= |
| 8034 | prev= |
| 8035 | for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do |
| 8036 | if testscip-shell system . . test. -n "$prev"; then |
| 8037 | case $word in |
| 8038 | i?86 | x86_64 | ppc | ppc64) |
| 8039 | if testscip-shell system . . test. -z "$arch" || testscip-shell system . . test. "$arch" = "$word"; then |
| 8040 | arch="$word" |
| 8041 | else |
| 8042 | gl_cv_c_multiarch=yes |
| 8043 | fi |
| 8044 | ;; |
| 8045 | esac |
| 8046 | prev= |
| 8047 | else |
| 8048 | if testscip-shell system . . test. "x$word" = "x-arch"; then |
| 8049 | prev=arch |
| 8050 | fi |
| 8051 | fi |
| 8052 | done |
| 8053 | |
| 8054 | fi |
| 8055 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8056 | if testscip-shell system . . test. $gl_cv_c_multiarch = yes; then |
| 8057 | APPLE_UNIVERSAL_BUILD=1 |
| 8058 | else |
| 8059 | APPLE_UNIVERSAL_BUILD=0 |
| 8060 | fi |
| 8061 | |
| 8062 | |
| 8063 | |
| 8064 | |
| 8065 | |
| 8066 | if testscip-shell system . . test. $ac_cv_type_long_long_int = yes; then |
| 8067 | HAVE_LONG_LONG_INT=1 |
| 8068 | else |
| 8069 | HAVE_LONG_LONG_INT=0 |
| 8070 | fi |
| 8071 | |
| 8072 | |
| 8073 | if testscip-shell system . . test. $ac_cv_type_unsigned_long_long_int = yes; then |
| 8074 | HAVE_UNSIGNED_LONG_LONG_INT=1 |
| 8075 | else |
| 8076 | HAVE_UNSIGNED_LONG_LONG_INT=0 |
| 8077 | fi |
| 8078 | |
| 8079 | |
| 8080 | |
| 8081 | if testscip-shell system . . test. $ac_cv_header_wchar_h = yes; then |
| 8082 | HAVE_WCHAR_H=1 |
| 8083 | else |
| 8084 | HAVE_WCHAR_H=0 |
| 8085 | fi |
| 8086 | |
| 8087 | |
| 8088 | if testscip-shell system . . test. $ac_cv_header_inttypes_h = yes; then |
| 8089 | HAVE_INTTYPES_H=1 |
| 8090 | else |
| 8091 | HAVE_INTTYPES_H=0 |
| 8092 | fi |
| 8093 | |
| 8094 | |
| 8095 | if testscip-shell system . . test. $ac_cv_header_sys_types_h = yes; then |
| 8096 | HAVE_SYS_TYPES_H=1 |
| 8097 | else |
| 8098 | HAVE_SYS_TYPES_H=0 |
| 8099 | fi |
| 8100 | |
| 8101 | |
| 8102 | |
| 8103 | |
| 8104 | |
| 8105 | |
| 8106 | |
| 8107 | |
| 8108 | |
| 8109 | |
| 8110 | |
| 8111 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 8112 | gl_cv_next_stdint_h='<'stdint.h'>' |
| 8113 | else |
| 8114 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5 |
| 8115 | printfscip-shell system . . printf. %s "checking absolute name of <stdint.h>... " >&6; } |
| 8116 | if ${gl_cv_next_stdint_h+:} false; then : |
| 8117 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8118 | else |
| 8119 | |
| 8120 | if testscip-shell system . . test. $ac_cv_header_stdint_h = yes; then |
| 8121 | |
| 8122 | |
| 8123 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8124 | /* end confdefs.h. */ |
| 8125 | #include <stdint.h> |
| 8126 | |
| 8127 | _ACEOF |
| 8128 | case "$host_os" in |
| 8129 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 8130 | *) gl_absname_cpp="$ac_cpp" ;; |
| 8131 | esac |
| 8132 | |
| 8133 | case "$host_os" in |
| 8134 | mingw*) |
| 8135 | gl_dirsep_regex='[/\\]' |
| 8136 | ;; |
| 8137 | *) |
| 8138 | gl_dirsep_regex='\/' |
| 8139 | ;; |
| 8140 | esac |
| 8141 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 8142 | |
| 8143 | gl_header_literal_regex=`echoscip-shell system . . echo. 'stdint.h' \ |
| 8144 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 8145 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 8146 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 8147 | s|^/[^/]|//&| |
| 8148 | p |
| 8149 | q |
| 8150 | }' |
| 8151 | gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 8152 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 8153 | else |
| 8154 | gl_cv_next_stdint_h='<'stdint.h'>' |
| 8155 | fi |
| 8156 | |
| 8157 | |
| 8158 | fi |
| 8159 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 |
| 8160 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_stdint_h" >&6; } |
| 8161 | fi |
| 8162 | NEXT_STDINT_H=$gl_cv_next_stdint_h |
| 8163 | |
| 8164 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 8165 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 8166 | gl_next_as_first_directive='<'stdint.h'>' |
| 8167 | else |
| 8168 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 8169 | gl_next_as_first_directive=$gl_cv_next_stdint_h |
| 8170 | fi |
| 8171 | NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive |
| 8172 | |
| 8173 | |
| 8174 | |
| 8175 | |
| 8176 | if testscip-shell system . . test. $ac_cv_header_stdint_h = yes; then |
| 8177 | HAVE_STDINT_H=1 |
| 8178 | else |
| 8179 | HAVE_STDINT_H=0 |
| 8180 | fi |
| 8181 | |
| 8182 | |
| 8183 | if testscip-shell system . . test. $ac_cv_header_stdint_h = yes; then |
| 8184 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 |
| 8185 | printfscip-shell system . . printf. %s "checking whether stdint.h conforms to C99... " >&6; } |
| 8186 | if ${gl_cv_header_working_stdint_h+:} false; then : |
| 8187 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8188 | else |
| 8189 | gl_cv_header_working_stdint_h=no |
| 8190 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8191 | /* end confdefs.h. */ |
| 8192 | |
| 8193 | |
| 8194 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ |
| 8195 | #include <stdint.h> |
| 8196 | /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ |
| 8197 | #if !(defined WCHAR_MIN && defined WCHAR_MAX) |
| 8198 | #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>" |
| 8199 | #endif |
| 8200 | |
| 8201 | |
| 8202 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8203 | included before <wchar.h>. */ |
| 8204 | #include <stddef.h> |
| 8205 | #include <signal.h> |
| 8206 | #if HAVE_WCHAR_H |
| 8207 | # include <stdio.h> |
| 8208 | # include <time.h> |
| 8209 | # include <wchar.h> |
| 8210 | #endif |
| 8211 | |
| 8212 | |
| 8213 | #ifdef INT8_MAX |
| 8214 | int8_t a1 = INT8_MAX; |
| 8215 | int8_t a1min = INT8_MIN; |
| 8216 | #endif |
| 8217 | #ifdef INT16_MAX |
| 8218 | int16_t a2 = INT16_MAX; |
| 8219 | int16_t a2min = INT16_MIN; |
| 8220 | #endif |
| 8221 | #ifdef INT32_MAX |
| 8222 | int32_t a3 = INT32_MAX; |
| 8223 | int32_t a3min = INT32_MIN; |
| 8224 | #endif |
| 8225 | #ifdef INT64_MAX |
| 8226 | int64_t a4 = INT64_MAX; |
| 8227 | int64_t a4min = INT64_MIN; |
| 8228 | #endif |
| 8229 | #ifdef UINT8_MAX |
| 8230 | uint8_t b1 = UINT8_MAX; |
| 8231 | #else |
| 8232 | typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; |
| 8233 | #endif |
| 8234 | #ifdef UINT16_MAX |
| 8235 | uint16_t b2 = UINT16_MAX; |
| 8236 | #endif |
| 8237 | #ifdef UINT32_MAX |
| 8238 | uint32_t b3 = UINT32_MAX; |
| 8239 | #endif |
| 8240 | #ifdef UINT64_MAX |
| 8241 | uint64_t b4 = UINT64_MAX; |
| 8242 | #endif |
| 8243 | int_least8_t c1 = INT8_C (0x7f); |
| 8244 | int_least8_t c1max = INT_LEAST8_MAX; |
| 8245 | int_least8_t c1min = INT_LEAST8_MIN; |
| 8246 | int_least16_t c2 = INT16_C (0x7fff); |
| 8247 | int_least16_t c2max = INT_LEAST16_MAX; |
| 8248 | int_least16_t c2min = INT_LEAST16_MIN; |
| 8249 | int_least32_t c3 = INT32_C (0x7fffffff); |
| 8250 | int_least32_t c3max = INT_LEAST32_MAX; |
| 8251 | int_least32_t c3min = INT_LEAST32_MIN; |
| 8252 | int_least64_t c4 = INT64_C (0x7fffffffffffffff); |
| 8253 | int_least64_t c4max = INT_LEAST64_MAX; |
| 8254 | int_least64_t c4min = INT_LEAST64_MIN; |
| 8255 | uint_least8_t d1 = UINT8_C (0xff); |
| 8256 | uint_least8_t d1max = UINT_LEAST8_MAX; |
| 8257 | uint_least16_t d2 = UINT16_C (0xffff); |
| 8258 | uint_least16_t d2max = UINT_LEAST16_MAX; |
| 8259 | uint_least32_t d3 = UINT32_C (0xffffffff); |
| 8260 | uint_least32_t d3max = UINT_LEAST32_MAX; |
| 8261 | uint_least64_t d4 = UINT64_C (0xffffffffffffffff); |
| 8262 | uint_least64_t d4max = UINT_LEAST64_MAX; |
| 8263 | int_fast8_t e1 = INT_FAST8_MAX; |
| 8264 | int_fast8_t e1min = INT_FAST8_MIN; |
| 8265 | int_fast16_t e2 = INT_FAST16_MAX; |
| 8266 | int_fast16_t e2min = INT_FAST16_MIN; |
| 8267 | int_fast32_t e3 = INT_FAST32_MAX; |
| 8268 | int_fast32_t e3min = INT_FAST32_MIN; |
| 8269 | int_fast64_t e4 = INT_FAST64_MAX; |
| 8270 | int_fast64_t e4min = INT_FAST64_MIN; |
| 8271 | uint_fast8_t f1 = UINT_FAST8_MAX; |
| 8272 | uint_fast16_t f2 = UINT_FAST16_MAX; |
| 8273 | uint_fast32_t f3 = UINT_FAST32_MAX; |
| 8274 | uint_fast64_t f4 = UINT_FAST64_MAX; |
| 8275 | #ifdef INTPTR_MAX |
| 8276 | intptr_t g = INTPTR_MAX; |
| 8277 | intptr_t gmin = INTPTR_MIN; |
| 8278 | #endif |
| 8279 | #ifdef UINTPTR_MAX |
| 8280 | uintptr_t h = UINTPTR_MAX; |
| 8281 | #endif |
| 8282 | intmax_t i = INTMAX_MAX; |
| 8283 | uintmax_t j = UINTMAX_MAX; |
| 8284 | |
| 8285 | #include <limits.h> /* for CHAR_BIT */ |
| 8286 | #define TYPE_MINIMUM(t) \ |
| 8287 | ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) |
| 8288 | #define TYPE_MAXIMUM(t) \ |
| 8289 | ((t) ((t) 0 < (t) -1 \ |
| 8290 | ? (t) -1 \ |
| 8291 | : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) |
| 8292 | struct s { |
| 8293 | int check_PTRDIFF: |
| 8294 | PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) |
| 8295 | && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) |
| 8296 | ? 1 : -1; |
| 8297 | /* Detect bug in FreeBSD 6.0 / ia64. */ |
| 8298 | int check_SIG_ATOMIC: |
| 8299 | SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) |
| 8300 | && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) |
| 8301 | ? 1 : -1; |
| 8302 | int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; |
| 8303 | int check_WCHAR: |
| 8304 | WCHAR_MIN == TYPE_MINIMUM (wchar_t) |
| 8305 | && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) |
| 8306 | ? 1 : -1; |
| 8307 | /* Detect bug in mingw. */ |
| 8308 | int check_WINT: |
| 8309 | WINT_MIN == TYPE_MINIMUM (wint_t) |
| 8310 | && WINT_MAX == TYPE_MAXIMUM (wint_t) |
| 8311 | ? 1 : -1; |
| 8312 | |
| 8313 | /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ |
| 8314 | int check_UINT8_C: |
| 8315 | (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; |
| 8316 | int check_UINT16_C: |
| 8317 | (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; |
| 8318 | |
| 8319 | /* Detect bugs in OpenBSD 3.9 stdint.h. */ |
| 8320 | #ifdef UINT8_MAX |
| 8321 | int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; |
| 8322 | #endif |
| 8323 | #ifdef UINT16_MAX |
| 8324 | int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; |
| 8325 | #endif |
| 8326 | #ifdef UINT32_MAX |
| 8327 | int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; |
| 8328 | #endif |
| 8329 | #ifdef UINT64_MAX |
| 8330 | int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; |
| 8331 | #endif |
| 8332 | int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; |
| 8333 | int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; |
| 8334 | int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; |
| 8335 | int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; |
| 8336 | int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; |
| 8337 | int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; |
| 8338 | int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; |
| 8339 | int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; |
| 8340 | int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; |
| 8341 | int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; |
| 8342 | int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; |
| 8343 | }; |
| 8344 | |
| 8345 | int |
| 8346 | main () |
| 8347 | { |
| 8348 | |
| 8349 | ; |
| 8350 | return 0; |
| 8351 | } |
| 8352 | _ACEOF |
| 8353 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8354 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 8355 | gl_cv_header_working_stdint_h=yes |
| 8356 | |
| 8357 | else |
| 8358 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8359 | /* end confdefs.h. */ |
| 8360 | |
| 8361 | |
| 8362 | #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ |
| 8363 | #include <stdint.h> |
| 8364 | |
| 8365 | |
| 8366 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8367 | included before <wchar.h>. */ |
| 8368 | #include <stddef.h> |
| 8369 | #include <signal.h> |
| 8370 | #if HAVE_WCHAR_H |
| 8371 | # include <stdio.h> |
| 8372 | # include <time.h> |
| 8373 | # include <wchar.h> |
| 8374 | #endif |
| 8375 | |
| 8376 | |
| 8377 | #include <stdio.h> |
| 8378 | #include <string.h> |
| 8379 | #define MVAL(macro) MVAL1(macro) |
| 8380 | #define MVAL1(expression) #expression |
| 8381 | static const char *macro_values[] = |
| 8382 | { |
| 8383 | #ifdef INT8_MAX |
| 8384 | MVAL (INT8_MAX), |
| 8385 | #endif |
| 8386 | #ifdef INT16_MAX |
| 8387 | MVAL (INT16_MAX), |
| 8388 | #endif |
| 8389 | #ifdef INT32_MAX |
| 8390 | MVAL (INT32_MAX), |
| 8391 | #endif |
| 8392 | #ifdef INT64_MAX |
| 8393 | MVAL (INT64_MAX), |
| 8394 | #endif |
| 8395 | #ifdef UINT8_MAX |
| 8396 | MVAL (UINT8_MAX), |
| 8397 | #endif |
| 8398 | #ifdef UINT16_MAX |
| 8399 | MVAL (UINT16_MAX), |
| 8400 | #endif |
| 8401 | #ifdef UINT32_MAX |
| 8402 | MVAL (UINT32_MAX), |
| 8403 | #endif |
| 8404 | #ifdef UINT64_MAX |
| 8405 | MVAL (UINT64_MAX), |
| 8406 | #endif |
| 8407 | NULL |
| 8408 | }; |
| 8409 | |
| 8410 | int |
| 8411 | main () |
| 8412 | { |
| 8413 | |
| 8414 | const char **mv; |
| 8415 | for (mv = macro_values; *mv != NULL; mv++) |
| 8416 | { |
| 8417 | const char *value = *mv; |
| 8418 | /* Test whether it looks like a cast expression. */ |
| 8419 | if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 |
| 8420 | || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 |
| 8421 | || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 |
| 8422 | || strncmp (value, "((int)"/*)*/, 6) == 0 |
| 8423 | || strncmp (value, "((signed short)"/*)*/, 15) == 0 |
| 8424 | || strncmp (value, "((signed char)"/*)*/, 14) == 0) |
| 8425 | return mv - macro_values + 1; |
| 8426 | } |
| 8427 | return 0; |
| 8428 | |
| 8429 | ; |
| 8430 | return 0; |
| 8431 | } |
| 8432 | _ACEOF |
| 8433 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 8434 | gl_cv_header_working_stdint_h=yes |
| 8435 | fi |
| 8436 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 8437 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 8438 | fi |
| 8439 | |
| 8440 | |
| 8441 | fi |
| 8442 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8443 | |
| 8444 | fi |
| 8445 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 |
| 8446 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_working_stdint_h" >&6; } |
| 8447 | fi |
| 8448 | if testscip-shell system . . test. "$gl_cv_header_working_stdint_h" = yes; then |
| 8449 | STDINT_H= |
| 8450 | else |
| 8451 | for ac_header in sys/inttypes.h sys/bitypes.h |
| 8452 | do : |
| 8453 | as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` |
| 8454 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 8455 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 8456 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8457 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 8458 | _ACEOF |
| 8459 | |
| 8460 | fi |
| 8461 | |
| 8462 | done |
| 8463 | |
| 8464 | if testscip-shell system . . test. $ac_cv_header_sys_inttypes_h = yes; then |
| 8465 | HAVE_SYS_INTTYPES_H=1 |
| 8466 | else |
| 8467 | HAVE_SYS_INTTYPES_H=0 |
| 8468 | fi |
| 8469 | |
| 8470 | if testscip-shell system . . test. $ac_cv_header_sys_bitypes_h = yes; then |
| 8471 | HAVE_SYS_BITYPES_H=1 |
| 8472 | else |
| 8473 | HAVE_SYS_BITYPES_H=0 |
| 8474 | fi |
| 8475 | |
| 8476 | |
| 8477 | |
| 8478 | |
| 8479 | if testscip-shell system . . test. $APPLE_UNIVERSAL_BUILD = 0; then |
| 8480 | |
| 8481 | |
| 8482 | for gltype in ptrdiff_t size_t ; do |
| 8483 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 |
| 8484 | printfscip-shell system . . printf. %s "checking for bit size of $gltype... " >&6; } |
| 8485 | if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : |
| 8486 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8487 | else |
| 8488 | if ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " |
| 8489 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8490 | included before <wchar.h>. */ |
| 8491 | #include <stddef.h> |
| 8492 | #include <signal.h> |
| 8493 | #if HAVE_WCHAR_H |
| 8494 | # include <stdio.h> |
| 8495 | # include <time.h> |
| 8496 | # include <wchar.h> |
| 8497 | #endif |
| 8498 | |
| 8499 | #include <limits.h>"; then : |
| 8500 | |
| 8501 | else |
| 8502 | result=unknown |
| 8503 | fi |
| 8504 | |
| 8505 | eval gl_cv_bitsizeof_${gltype}=\$result |
| 8506 | |
| 8507 | fi |
| 8508 | eval ac_res=\$gl_cv_bitsizeof_${gltype} |
| 8509 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8510 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8511 | eval result=\$gl_cv_bitsizeof_${gltype} |
| 8512 | if testscip-shell system . . test. $result = unknown; then |
| 8513 | result=0 |
| 8514 | fi |
| 8515 | GLTYPE=`echoscip-shell system . . echo. "$gltype" | trscip-shell system . . tr. 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` |
| 8516 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8517 | #define BITSIZEOF_${GLTYPE} $result |
| 8518 | _ACEOF |
| 8519 | |
| 8520 | eval BITSIZEOF_${GLTYPE}=\$result |
| 8521 | done |
| 8522 | |
| 8523 | |
| 8524 | fi |
| 8525 | |
| 8526 | |
| 8527 | for gltype in sig_atomic_t wchar_t wint_t ; do |
| 8528 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 |
| 8529 | printfscip-shell system . . printf. %s "checking for bit size of $gltype... " >&6; } |
| 8530 | if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : |
| 8531 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8532 | else |
| 8533 | if ac_fn_c_compute_intscip-shell shell cppi 1.18-6 ac_fn_c_compute_int(). "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " |
| 8534 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8535 | included before <wchar.h>. */ |
| 8536 | #include <stddef.h> |
| 8537 | #include <signal.h> |
| 8538 | #if HAVE_WCHAR_H |
| 8539 | # include <stdio.h> |
| 8540 | # include <time.h> |
| 8541 | # include <wchar.h> |
| 8542 | #endif |
| 8543 | |
| 8544 | #include <limits.h>"; then : |
| 8545 | |
| 8546 | else |
| 8547 | result=unknown |
| 8548 | fi |
| 8549 | |
| 8550 | eval gl_cv_bitsizeof_${gltype}=\$result |
| 8551 | |
| 8552 | fi |
| 8553 | eval ac_res=\$gl_cv_bitsizeof_${gltype} |
| 8554 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8555 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8556 | eval result=\$gl_cv_bitsizeof_${gltype} |
| 8557 | if testscip-shell system . . test. $result = unknown; then |
| 8558 | result=0 |
| 8559 | fi |
| 8560 | GLTYPE=`echoscip-shell system . . echo. "$gltype" | trscip-shell system . . tr. 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` |
| 8561 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8562 | #define BITSIZEOF_${GLTYPE} $result |
| 8563 | _ACEOF |
| 8564 | |
| 8565 | eval BITSIZEOF_${GLTYPE}=\$result |
| 8566 | done |
| 8567 | |
| 8568 | |
| 8569 | |
| 8570 | |
| 8571 | for gltype in sig_atomic_t wchar_t wint_t ; do |
| 8572 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 |
| 8573 | printfscip-shell system . . printf. %s "checking whether $gltype is signed... " >&6; } |
| 8574 | if eval \${gl_cv_type_${gltype}_signed+:} false; then : |
| 8575 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8576 | else |
| 8577 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8578 | /* end confdefs.h. */ |
| 8579 | |
| 8580 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8581 | included before <wchar.h>. */ |
| 8582 | #include <stddef.h> |
| 8583 | #include <signal.h> |
| 8584 | #if HAVE_WCHAR_H |
| 8585 | # include <stdio.h> |
| 8586 | # include <time.h> |
| 8587 | # include <wchar.h> |
| 8588 | #endif |
| 8589 | |
| 8590 | int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; |
| 8591 | int |
| 8592 | main () |
| 8593 | { |
| 8594 | |
| 8595 | ; |
| 8596 | return 0; |
| 8597 | } |
| 8598 | _ACEOF |
| 8599 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8600 | result=yes |
| 8601 | else |
| 8602 | result=no |
| 8603 | fi |
| 8604 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8605 | eval gl_cv_type_${gltype}_signed=\$result |
| 8606 | |
| 8607 | fi |
| 8608 | eval ac_res=\$gl_cv_type_${gltype}_signed |
| 8609 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8610 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8611 | eval result=\$gl_cv_type_${gltype}_signed |
| 8612 | GLTYPE=`echoscip-shell system . . echo. $gltype | trscip-shell system . . tr. 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` |
| 8613 | if testscip-shell system . . test. "$result" = yes; then |
| 8614 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8615 | #define HAVE_SIGNED_${GLTYPE} 1 |
| 8616 | _ACEOF |
| 8617 | |
| 8618 | eval HAVE_SIGNED_${GLTYPE}=1 |
| 8619 | else |
| 8620 | eval HAVE_SIGNED_${GLTYPE}=0 |
| 8621 | fi |
| 8622 | done |
| 8623 | |
| 8624 | |
| 8625 | gl_cv_type_ptrdiff_t_signed=yes |
| 8626 | gl_cv_type_size_t_signed=no |
| 8627 | if testscip-shell system . . test. $APPLE_UNIVERSAL_BUILD = 0; then |
| 8628 | |
| 8629 | |
| 8630 | for gltype in ptrdiff_t size_t ; do |
| 8631 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 |
| 8632 | printfscip-shell system . . printf. %s "checking for $gltype integer literal suffix... " >&6; } |
| 8633 | if eval \${gl_cv_type_${gltype}_suffix+:} false; then : |
| 8634 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8635 | else |
| 8636 | eval gl_cv_type_${gltype}_suffix=no |
| 8637 | eval result=\$gl_cv_type_${gltype}_signed |
| 8638 | if testscip-shell system . . test. "$result" = yes; then |
| 8639 | glsufu= |
| 8640 | else |
| 8641 | glsufu=u |
| 8642 | fi |
| 8643 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do |
| 8644 | case $glsuf in |
| 8645 | '') gltype1='int';; |
| 8646 | l) gltype1='long int';; |
| 8647 | ll) gltype1='long long int';; |
| 8648 | i64) gltype1='__int64';; |
| 8649 | u) gltype1='unsigned int';; |
| 8650 | ul) gltype1='unsigned long int';; |
| 8651 | ull) gltype1='unsigned long long int';; |
| 8652 | ui64)gltype1='unsigned __int64';; |
| 8653 | esac |
| 8654 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8655 | /* end confdefs.h. */ |
| 8656 | |
| 8657 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8658 | included before <wchar.h>. */ |
| 8659 | #include <stddef.h> |
| 8660 | #include <signal.h> |
| 8661 | #if HAVE_WCHAR_H |
| 8662 | # include <stdio.h> |
| 8663 | # include <time.h> |
| 8664 | # include <wchar.h> |
| 8665 | #endif |
| 8666 | |
| 8667 | extern $gltype foo; |
| 8668 | extern $gltype1 foo; |
| 8669 | int |
| 8670 | main () |
| 8671 | { |
| 8672 | |
| 8673 | ; |
| 8674 | return 0; |
| 8675 | } |
| 8676 | _ACEOF |
| 8677 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8678 | eval gl_cv_type_${gltype}_suffix=\$glsuf |
| 8679 | fi |
| 8680 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8681 | eval result=\$gl_cv_type_${gltype}_suffix |
| 8682 | testscip-shell system . . test. "$result" != no && break |
| 8683 | done |
| 8684 | fi |
| 8685 | eval ac_res=\$gl_cv_type_${gltype}_suffix |
| 8686 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8687 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8688 | GLTYPE=`echoscip-shell system . . echo. $gltype | trscip-shell system . . tr. 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` |
| 8689 | eval result=\$gl_cv_type_${gltype}_suffix |
| 8690 | testscip-shell system . . test. "$result" = no && result= |
| 8691 | eval ${GLTYPE}_SUFFIX=\$result |
| 8692 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8693 | #define ${GLTYPE}_SUFFIX $result |
| 8694 | _ACEOF |
| 8695 | |
| 8696 | done |
| 8697 | |
| 8698 | |
| 8699 | fi |
| 8700 | |
| 8701 | |
| 8702 | for gltype in sig_atomic_t wchar_t wint_t ; do |
| 8703 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 |
| 8704 | printfscip-shell system . . printf. %s "checking for $gltype integer literal suffix... " >&6; } |
| 8705 | if eval \${gl_cv_type_${gltype}_suffix+:} false; then : |
| 8706 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8707 | else |
| 8708 | eval gl_cv_type_${gltype}_suffix=no |
| 8709 | eval result=\$gl_cv_type_${gltype}_signed |
| 8710 | if testscip-shell system . . test. "$result" = yes; then |
| 8711 | glsufu= |
| 8712 | else |
| 8713 | glsufu=u |
| 8714 | fi |
| 8715 | for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do |
| 8716 | case $glsuf in |
| 8717 | '') gltype1='int';; |
| 8718 | l) gltype1='long int';; |
| 8719 | ll) gltype1='long long int';; |
| 8720 | i64) gltype1='__int64';; |
| 8721 | u) gltype1='unsigned int';; |
| 8722 | ul) gltype1='unsigned long int';; |
| 8723 | ull) gltype1='unsigned long long int';; |
| 8724 | ui64)gltype1='unsigned __int64';; |
| 8725 | esac |
| 8726 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8727 | /* end confdefs.h. */ |
| 8728 | |
| 8729 | /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 8730 | included before <wchar.h>. */ |
| 8731 | #include <stddef.h> |
| 8732 | #include <signal.h> |
| 8733 | #if HAVE_WCHAR_H |
| 8734 | # include <stdio.h> |
| 8735 | # include <time.h> |
| 8736 | # include <wchar.h> |
| 8737 | #endif |
| 8738 | |
| 8739 | extern $gltype foo; |
| 8740 | extern $gltype1 foo; |
| 8741 | int |
| 8742 | main () |
| 8743 | { |
| 8744 | |
| 8745 | ; |
| 8746 | return 0; |
| 8747 | } |
| 8748 | _ACEOF |
| 8749 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8750 | eval gl_cv_type_${gltype}_suffix=\$glsuf |
| 8751 | fi |
| 8752 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8753 | eval result=\$gl_cv_type_${gltype}_suffix |
| 8754 | testscip-shell system . . test. "$result" != no && break |
| 8755 | done |
| 8756 | fi |
| 8757 | eval ac_res=\$gl_cv_type_${gltype}_suffix |
| 8758 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8759 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8760 | GLTYPE=`echoscip-shell system . . echo. $gltype | trscip-shell system . . tr. 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` |
| 8761 | eval result=\$gl_cv_type_${gltype}_suffix |
| 8762 | testscip-shell system . . test. "$result" = no && result= |
| 8763 | eval ${GLTYPE}_SUFFIX=\$result |
| 8764 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8765 | #define ${GLTYPE}_SUFFIX $result |
| 8766 | _ACEOF |
| 8767 | |
| 8768 | done |
| 8769 | |
| 8770 | |
| 8771 | |
| 8772 | if testscip-shell system . . test. $BITSIZEOF_WINT_T -lt 32; then |
| 8773 | BITSIZEOF_WINT_T=32 |
| 8774 | fi |
| 8775 | |
| 8776 | STDINT_H=stdint.h |
| 8777 | fi |
| 8778 | |
| 8779 | if testscip-shell system . . test. -n "$STDINT_H"; then |
| 8780 | GL_GENERATE_STDINT_H_TRUE= |
| 8781 | GL_GENERATE_STDINT_H_FALSE='#' |
| 8782 | else |
| 8783 | GL_GENERATE_STDINT_H_TRUE='#' |
| 8784 | GL_GENERATE_STDINT_H_FALSE= |
| 8785 | fi |
| 8786 | |
| 8787 | |
| 8788 | |
| 8789 | |
| 8790 | |
| 8791 | GNULIB_IMAXABS=0; |
| 8792 | GNULIB_IMAXDIV=0; |
| 8793 | GNULIB_STRTOIMAX=0; |
| 8794 | GNULIB_STRTOUMAX=0; |
| 8795 | HAVE_DECL_IMAXABS=1; |
| 8796 | HAVE_DECL_IMAXDIV=1; |
| 8797 | HAVE_DECL_STRTOIMAX=1; |
| 8798 | HAVE_DECL_STRTOUMAX=1; |
| 8799 | REPLACE_STRTOIMAX=0; |
| 8800 | INT32_MAX_LT_INTMAX_MAX=1; |
| 8801 | INT64_MAX_EQ_LONG_MAX='defined _LP64'; |
| 8802 | PRI_MACROS_BROKEN=0; |
| 8803 | PRIPTR_PREFIX=__PRIPTR_PREFIX; |
| 8804 | UINT32_MAX_LT_UINTMAX_MAX=1; |
| 8805 | UINT64_MAX_EQ_ULONG_MAX='defined _LP64'; |
| 8806 | |
| 8807 | |
| 8808 | |
| 8809 | |
| 8810 | |
| 8811 | |
| 8812 | |
| 8813 | |
| 8814 | |
| 8815 | |
| 8816 | |
| 8817 | |
| 8818 | |
| 8819 | |
| 8820 | |
| 8821 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 8822 | gl_cv_next_inttypes_h='<'inttypes.h'>' |
| 8823 | else |
| 8824 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <inttypes.h>" >&5 |
| 8825 | printfscip-shell system . . printf. %s "checking absolute name of <inttypes.h>... " >&6; } |
| 8826 | if ${gl_cv_next_inttypes_h+:} false; then : |
| 8827 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8828 | else |
| 8829 | |
| 8830 | if testscip-shell system . . test. $ac_cv_header_inttypes_h = yes; then |
| 8831 | |
| 8832 | |
| 8833 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8834 | /* end confdefs.h. */ |
| 8835 | #include <inttypes.h> |
| 8836 | |
| 8837 | _ACEOF |
| 8838 | case "$host_os" in |
| 8839 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 8840 | *) gl_absname_cpp="$ac_cpp" ;; |
| 8841 | esac |
| 8842 | |
| 8843 | case "$host_os" in |
| 8844 | mingw*) |
| 8845 | gl_dirsep_regex='[/\\]' |
| 8846 | ;; |
| 8847 | *) |
| 8848 | gl_dirsep_regex='\/' |
| 8849 | ;; |
| 8850 | esac |
| 8851 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 8852 | |
| 8853 | gl_header_literal_regex=`echoscip-shell system . . echo. 'inttypes.h' \ |
| 8854 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 8855 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 8856 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 8857 | s|^/[^/]|//&| |
| 8858 | p |
| 8859 | q |
| 8860 | }' |
| 8861 | gl_cv_next_inttypes_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 8862 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 8863 | else |
| 8864 | gl_cv_next_inttypes_h='<'inttypes.h'>' |
| 8865 | fi |
| 8866 | |
| 8867 | |
| 8868 | fi |
| 8869 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_inttypes_h" >&5 |
| 8870 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_inttypes_h" >&6; } |
| 8871 | fi |
| 8872 | NEXT_INTTYPES_H=$gl_cv_next_inttypes_h |
| 8873 | |
| 8874 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 8875 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 8876 | gl_next_as_first_directive='<'inttypes.h'>' |
| 8877 | else |
| 8878 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 8879 | gl_next_as_first_directive=$gl_cv_next_inttypes_h |
| 8880 | fi |
| 8881 | NEXT_AS_FIRST_DIRECTIVE_INTTYPES_H=$gl_next_as_first_directive |
| 8882 | |
| 8883 | |
| 8884 | |
| 8885 | |
| 8886 | |
| 8887 | |
| 8888 | |
| 8889 | |
| 8890 | for gl_func in imaxabs imaxdiv strtoimax strtoumax; do |
| 8891 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 8892 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 8893 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 8894 | if eval \${$as_gl_Symbol+:} false; then : |
| 8895 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8896 | else |
| 8897 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8898 | /* end confdefs.h. */ |
| 8899 | #include <inttypes.h> |
| 8900 | |
| 8901 | int |
| 8902 | main () |
| 8903 | { |
| 8904 | #undef $gl_func |
| 8905 | (void) $gl_func; |
| 8906 | ; |
| 8907 | return 0; |
| 8908 | } |
| 8909 | _ACEOF |
| 8910 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 8911 | eval "$as_gl_Symbol=yes" |
| 8912 | else |
| 8913 | eval "$as_gl_Symbol=no" |
| 8914 | fi |
| 8915 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8916 | fi |
| 8917 | eval ac_res=\$$as_gl_Symbol |
| 8918 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 8919 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 8920 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 8921 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 8922 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 8923 | _ACEOF |
| 8924 | |
| 8925 | eval ac_cv_have_decl_$gl_func=yes |
| 8926 | fi |
| 8927 | done |
| 8928 | |
| 8929 | |
| 8930 | |
| 8931 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 |
| 8932 | printfscip-shell system . . printf. %s "checking for nl_langinfo and CODESET... " >&6; } |
| 8933 | if ${am_cv_langinfo_codeset+:} false; then : |
| 8934 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8935 | else |
| 8936 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8937 | /* end confdefs.h. */ |
| 8938 | #include <langinfo.h> |
| 8939 | int |
| 8940 | main () |
| 8941 | { |
| 8942 | char* cs = nl_langinfo(CODESET); return !cs; |
| 8943 | ; |
| 8944 | return 0; |
| 8945 | } |
| 8946 | _ACEOF |
| 8947 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 8948 | am_cv_langinfo_codeset=yes |
| 8949 | else |
| 8950 | am_cv_langinfo_codeset=no |
| 8951 | fi |
| 8952 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 8953 | conftest$ac_exeext conftest.$ac_ext |
| 8954 | |
| 8955 | fi |
| 8956 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 |
| 8957 | printfscip-shell system . . printf. "%s\n" "$am_cv_langinfo_codeset" >&6; } |
| 8958 | if testscip-shell system . . test. $am_cv_langinfo_codeset = yes; then |
| 8959 | |
| 8960 | printfscip-shell system . . printf. "%s\n" "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h |
| 8961 | |
| 8962 | fi |
| 8963 | |
| 8964 | |
| 8965 | |
| 8966 | |
| 8967 | |
| 8968 | |
| 8969 | |
| 8970 | |
| 8971 | |
| 8972 | |
| 8973 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 |
| 8974 | printfscip-shell system . . printf. %s "checking for working fcntl.h... " >&6; } |
| 8975 | if ${gl_cv_header_working_fcntl_h+:} false; then : |
| 8976 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 8977 | else |
| 8978 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 8979 | gl_cv_header_working_fcntl_h=cross-compiling |
| 8980 | else |
| 8981 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 8982 | /* end confdefs.h. */ |
| 8983 | #include <sys/types.h> |
| 8984 | #include <sys/stat.h> |
| 8985 | #if HAVE_UNISTD_H |
| 8986 | # include <unistd.h> |
| 8987 | #else /* on Windows with MSVC */ |
| 8988 | # include <io.h> |
| 8989 | # include <stdlib.h> |
| 8990 | # defined sleep(n) _sleep ((n) * 1000) |
| 8991 | #endif |
| 8992 | #include <fcntl.h> |
| 8993 | #ifndef O_NOATIME |
| 8994 | #define O_NOATIME 0 |
| 8995 | #endif |
| 8996 | #ifndef O_NOFOLLOW |
| 8997 | #define O_NOFOLLOW 0 |
| 8998 | #endif |
| 8999 | static int const constants[] = |
| 9000 | { |
| 9001 | O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, |
| 9002 | O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY |
| 9003 | }; |
| 9004 | |
| 9005 | int |
| 9006 | main () |
| 9007 | { |
| 9008 | |
| 9009 | int result = !constants; |
| 9010 | #if HAVE_SYMLINK |
| 9011 | { |
| 9012 | static char const sym[] = "conftest.sym"; |
| 9013 | if (symlink ("/dev/null", sym) != 0) |
| 9014 | result |= 2; |
| 9015 | else |
| 9016 | { |
| 9017 | int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); |
| 9018 | if (fd >= 0) |
| 9019 | { |
| 9020 | close (fd); |
| 9021 | result |= 4; |
| 9022 | } |
| 9023 | } |
| 9024 | if (unlink (sym) != 0 || symlink (".", sym) != 0) |
| 9025 | result |= 2; |
| 9026 | else |
| 9027 | { |
| 9028 | int fd = open (sym, O_RDONLY | O_NOFOLLOW); |
| 9029 | if (fd >= 0) |
| 9030 | { |
| 9031 | close (fd); |
| 9032 | result |= 4; |
| 9033 | } |
| 9034 | } |
| 9035 | unlink (sym); |
| 9036 | } |
| 9037 | #endif |
| 9038 | { |
| 9039 | static char const file[] = "confdefs.h"; |
| 9040 | int fd = open (file, O_RDONLY | O_NOATIME); |
| 9041 | if (fd < 0) |
| 9042 | result |= 8; |
| 9043 | else |
| 9044 | { |
| 9045 | struct stat st0; |
| 9046 | if (fstat (fd, &st0) != 0) |
| 9047 | result |= 16; |
| 9048 | else |
| 9049 | { |
| 9050 | char c; |
| 9051 | sleep (1); |
| 9052 | if (read (fd, &c, 1) != 1) |
| 9053 | result |= 24; |
| 9054 | else |
| 9055 | { |
| 9056 | if (close (fd) != 0) |
| 9057 | result |= 32; |
| 9058 | else |
| 9059 | { |
| 9060 | struct stat st1; |
| 9061 | if (stat (file, &st1) != 0) |
| 9062 | result |= 40; |
| 9063 | else |
| 9064 | if (st0.st_atime != st1.st_atime) |
| 9065 | result |= 64; |
| 9066 | } |
| 9067 | } |
| 9068 | } |
| 9069 | } |
| 9070 | } |
| 9071 | return result; |
| 9072 | ; |
| 9073 | return 0; |
| 9074 | } |
| 9075 | _ACEOF |
| 9076 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 9077 | gl_cv_header_working_fcntl_h=yes |
| 9078 | else |
| 9079 | case $? in #( |
| 9080 | 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( |
| 9081 | 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( |
| 9082 | 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( |
| 9083 | *) gl_cv_header_working_fcntl_h='no';; |
| 9084 | esac |
| 9085 | fi |
| 9086 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 9087 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 9088 | fi |
| 9089 | |
| 9090 | fi |
| 9091 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 |
| 9092 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_working_fcntl_h" >&6; } |
| 9093 | |
| 9094 | case $gl_cv_header_working_fcntl_h in #( |
| 9095 | *O_NOATIME* | no | cross-compiling) ac_val=0;; #( |
| 9096 | *) ac_val=1;; |
| 9097 | esac |
| 9098 | |
| 9099 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 9100 | #define HAVE_WORKING_O_NOATIME $ac_val |
| 9101 | _ACEOF |
| 9102 | |
| 9103 | |
| 9104 | case $gl_cv_header_working_fcntl_h in #( |
| 9105 | *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( |
| 9106 | *) ac_val=1;; |
| 9107 | esac |
| 9108 | |
| 9109 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 9110 | #define HAVE_WORKING_O_NOFOLLOW $ac_val |
| 9111 | _ACEOF |
| 9112 | |
| 9113 | |
| 9114 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" |
| 9115 | if testscip-shell system . . test. "x$ac_cv_have_decl_getc_unlocked" = xyes; then : |
| 9116 | ac_have_decl=1 |
| 9117 | else |
| 9118 | ac_have_decl=0 |
| 9119 | fi |
| 9120 | |
| 9121 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 9122 | #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl |
| 9123 | _ACEOF |
| 9124 | |
| 9125 | |
| 9126 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library >= 2.1 or uClibc" >&5 |
| 9127 | printfscip-shell system . . printf. %s "checking whether we are using the GNU C Library >= 2.1 or uClibc... " >&6; } |
| 9128 | if ${ac_cv_gnu_library_2_1+:} false; then : |
| 9129 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9130 | else |
| 9131 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9132 | /* end confdefs.h. */ |
| 9133 | |
| 9134 | #include <features.h> |
| 9135 | #ifdef __GNU_LIBRARY__ |
| 9136 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) |
| 9137 | Lucky GNU user |
| 9138 | #endif |
| 9139 | #endif |
| 9140 | #ifdef __UCLIBC__ |
| 9141 | Lucky user |
| 9142 | #endif |
| 9143 | |
| 9144 | _ACEOF |
| 9145 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9146 | $EGREP "Lucky" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 9147 | ac_cv_gnu_library_2_1=yes |
| 9148 | else |
| 9149 | ac_cv_gnu_library_2_1=no |
| 9150 | fi |
| 9151 | rmscip-shell system . . rm. -f conftest* |
| 9152 | |
| 9153 | |
| 9154 | |
| 9155 | fi |
| 9156 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 |
| 9157 | printfscip-shell system . . printf. "%s\n" "$ac_cv_gnu_library_2_1" >&6; } |
| 9158 | |
| 9159 | GLIBC21="$ac_cv_gnu_library_2_1" |
| 9160 | |
| 9161 | |
| 9162 | |
| 9163 | GNULIB_BTOWC=0; |
| 9164 | GNULIB_WCTOB=0; |
| 9165 | GNULIB_MBSINIT=0; |
| 9166 | GNULIB_MBRTOWC=0; |
| 9167 | GNULIB_MBRLEN=0; |
| 9168 | GNULIB_MBSRTOWCS=0; |
| 9169 | GNULIB_MBSNRTOWCS=0; |
| 9170 | GNULIB_WCRTOMB=0; |
| 9171 | GNULIB_WCSRTOMBS=0; |
| 9172 | GNULIB_WCSNRTOMBS=0; |
| 9173 | GNULIB_WCWIDTH=0; |
| 9174 | GNULIB_WMEMCHR=0; |
| 9175 | GNULIB_WMEMCMP=0; |
| 9176 | GNULIB_WMEMCPY=0; |
| 9177 | GNULIB_WMEMMOVE=0; |
| 9178 | GNULIB_WMEMSET=0; |
| 9179 | GNULIB_WCSLEN=0; |
| 9180 | GNULIB_WCSNLEN=0; |
| 9181 | GNULIB_WCSCPY=0; |
| 9182 | GNULIB_WCPCPY=0; |
| 9183 | GNULIB_WCSNCPY=0; |
| 9184 | GNULIB_WCPNCPY=0; |
| 9185 | GNULIB_WCSCAT=0; |
| 9186 | GNULIB_WCSNCAT=0; |
| 9187 | GNULIB_WCSCMP=0; |
| 9188 | GNULIB_WCSNCMP=0; |
| 9189 | GNULIB_WCSCASECMP=0; |
| 9190 | GNULIB_WCSNCASECMP=0; |
| 9191 | GNULIB_WCSCOLL=0; |
| 9192 | GNULIB_WCSXFRM=0; |
| 9193 | GNULIB_WCSDUP=0; |
| 9194 | GNULIB_WCSCHR=0; |
| 9195 | GNULIB_WCSRCHR=0; |
| 9196 | GNULIB_WCSCSPN=0; |
| 9197 | GNULIB_WCSSPN=0; |
| 9198 | GNULIB_WCSPBRK=0; |
| 9199 | GNULIB_WCSSTR=0; |
| 9200 | GNULIB_WCSTOK=0; |
| 9201 | GNULIB_WCSWIDTH=0; |
| 9202 | HAVE_BTOWC=1; |
| 9203 | HAVE_MBSINIT=1; |
| 9204 | HAVE_MBRTOWC=1; |
| 9205 | HAVE_MBRLEN=1; |
| 9206 | HAVE_MBSRTOWCS=1; |
| 9207 | HAVE_MBSNRTOWCS=1; |
| 9208 | HAVE_WCRTOMB=1; |
| 9209 | HAVE_WCSRTOMBS=1; |
| 9210 | HAVE_WCSNRTOMBS=1; |
| 9211 | HAVE_WMEMCHR=1; |
| 9212 | HAVE_WMEMCMP=1; |
| 9213 | HAVE_WMEMCPY=1; |
| 9214 | HAVE_WMEMMOVE=1; |
| 9215 | HAVE_WMEMSET=1; |
| 9216 | HAVE_WCSLEN=1; |
| 9217 | HAVE_WCSNLEN=1; |
| 9218 | HAVE_WCSCPY=1; |
| 9219 | HAVE_WCPCPY=1; |
| 9220 | HAVE_WCSNCPY=1; |
| 9221 | HAVE_WCPNCPY=1; |
| 9222 | HAVE_WCSCAT=1; |
| 9223 | HAVE_WCSNCAT=1; |
| 9224 | HAVE_WCSCMP=1; |
| 9225 | HAVE_WCSNCMP=1; |
| 9226 | HAVE_WCSCASECMP=1; |
| 9227 | HAVE_WCSNCASECMP=1; |
| 9228 | HAVE_WCSCOLL=1; |
| 9229 | HAVE_WCSXFRM=1; |
| 9230 | HAVE_WCSDUP=1; |
| 9231 | HAVE_WCSCHR=1; |
| 9232 | HAVE_WCSRCHR=1; |
| 9233 | HAVE_WCSCSPN=1; |
| 9234 | HAVE_WCSSPN=1; |
| 9235 | HAVE_WCSPBRK=1; |
| 9236 | HAVE_WCSSTR=1; |
| 9237 | HAVE_WCSTOK=1; |
| 9238 | HAVE_WCSWIDTH=1; |
| 9239 | HAVE_DECL_WCTOB=1; |
| 9240 | HAVE_DECL_WCWIDTH=1; |
| 9241 | REPLACE_MBSTATE_T=0; |
| 9242 | REPLACE_BTOWC=0; |
| 9243 | REPLACE_WCTOB=0; |
| 9244 | REPLACE_MBSINIT=0; |
| 9245 | REPLACE_MBRTOWC=0; |
| 9246 | REPLACE_MBRLEN=0; |
| 9247 | REPLACE_MBSRTOWCS=0; |
| 9248 | REPLACE_MBSNRTOWCS=0; |
| 9249 | REPLACE_WCRTOMB=0; |
| 9250 | REPLACE_WCSRTOMBS=0; |
| 9251 | REPLACE_WCSNRTOMBS=0; |
| 9252 | REPLACE_WCWIDTH=0; |
| 9253 | REPLACE_WCSWIDTH=0; |
| 9254 | |
| 9255 | |
| 9256 | |
| 9257 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 |
| 9258 | printfscip-shell system . . printf. %s "checking for mbstate_t... " >&6; } |
| 9259 | if ${ac_cv_type_mbstate_t+:} false; then : |
| 9260 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9261 | else |
| 9262 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9263 | /* end confdefs.h. */ |
| 9264 | $ac_includes_default |
| 9265 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 9266 | <wchar.h>. |
| 9267 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 9268 | included before <wchar.h>. */ |
| 9269 | #include <stddef.h> |
| 9270 | #include <stdio.h> |
| 9271 | #include <time.h> |
| 9272 | #include <wchar.h> |
| 9273 | int |
| 9274 | main () |
| 9275 | { |
| 9276 | mbstate_t x; return sizeof x; |
| 9277 | ; |
| 9278 | return 0; |
| 9279 | } |
| 9280 | _ACEOF |
| 9281 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 9282 | ac_cv_type_mbstate_t=yes |
| 9283 | else |
| 9284 | ac_cv_type_mbstate_t=no |
| 9285 | fi |
| 9286 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9287 | fi |
| 9288 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 |
| 9289 | printfscip-shell system . . printf. "%s\n" "$ac_cv_type_mbstate_t" >&6; } |
| 9290 | if testscip-shell system . . test. $ac_cv_type_mbstate_t = yes; then |
| 9291 | |
| 9292 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h |
| 9293 | |
| 9294 | else |
| 9295 | |
| 9296 | printfscip-shell system . . printf. "%s\n" "#define mbstate_t int" >>confdefs.h |
| 9297 | |
| 9298 | fi |
| 9299 | |
| 9300 | |
| 9301 | |
| 9302 | |
| 9303 | |
| 9304 | |
| 9305 | |
| 9306 | |
| 9307 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a traditional japanese locale" >&5 |
| 9308 | printfscip-shell system . . printf. %s "checking for a traditional japanese locale... " >&6; } |
| 9309 | if ${gt_cv_locale_ja+:} false; then : |
| 9310 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9311 | else |
| 9312 | |
| 9313 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9314 | /* end confdefs.h. */ |
| 9315 | |
| 9316 | #include <locale.h> |
| 9317 | #include <time.h> |
| 9318 | #if HAVE_LANGINFO_CODESET |
| 9319 | # include <langinfo.h> |
| 9320 | #endif |
| 9321 | #include <stdlib.h> |
| 9322 | #include <string.h> |
| 9323 | struct tm t; |
| 9324 | char buf[16]; |
| 9325 | int main () |
| 9326 | { |
| 9327 | const char *p; |
| 9328 | /* Check whether the given locale name is recognized by the system. */ |
| 9329 | #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ |
| 9330 | /* On native Windows, setlocale(category, "") looks at the system settings, |
| 9331 | not at the environment variables. Also, when an encoding suffix such |
| 9332 | as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE |
| 9333 | category of the locale to "C". */ |
| 9334 | if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL |
| 9335 | || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) |
| 9336 | return 1; |
| 9337 | #else |
| 9338 | if (setlocale (LC_ALL, "") == NULL) return 1; |
| 9339 | #endif |
| 9340 | /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". |
| 9341 | On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) |
| 9342 | is empty, and the behaviour of Tcl 8.4 in this locale is not useful. |
| 9343 | On OpenBSD 4.0, when an unsupported locale is specified, setlocale() |
| 9344 | succeeds but then nl_langinfo(CODESET) is "646". In this situation, |
| 9345 | some unit tests fail. |
| 9346 | On MirBSD 10, when an unsupported locale is specified, setlocale() |
| 9347 | succeeds but then nl_langinfo(CODESET) is "UTF-8". */ |
| 9348 | #if HAVE_LANGINFO_CODESET |
| 9349 | { |
| 9350 | const char *cs = nl_langinfo (CODESET); |
| 9351 | if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 |
| 9352 | || strcmp (cs, "UTF-8") == 0) |
| 9353 | return 1; |
| 9354 | } |
| 9355 | #endif |
| 9356 | #ifdef __CYGWIN__ |
| 9357 | /* On Cygwin, avoid locale names without encoding suffix, because the |
| 9358 | locale_charset() function relies on the encoding suffix. Note that |
| 9359 | LC_ALL is set on the command line. */ |
| 9360 | if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; |
| 9361 | #endif |
| 9362 | /* Check whether MB_CUR_MAX is > 1. This excludes the dysfunctional locales |
| 9363 | on Cygwin 1.5.x. */ |
| 9364 | if (MB_CUR_MAX == 1) |
| 9365 | return 1; |
| 9366 | /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. |
| 9367 | This excludes the UTF-8 encoding (except on MirBSD). */ |
| 9368 | t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; |
| 9369 | if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; |
| 9370 | for (p = buf; *p != '\0'; p++) |
| 9371 | if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) |
| 9372 | return 1; |
| 9373 | return 0; |
| 9374 | } |
| 9375 | |
| 9376 | _ACEOF |
| 9377 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 9378 | (eval $ac_link) 2>&5 |
| 9379 | ac_status=$? |
| 9380 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9381 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 9382 | case "$host_os" in |
| 9383 | # Handle native Windows specially, because there setlocale() interprets |
| 9384 | # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", |
| 9385 | # "fr" or "fra" as "French" or "French_France.1252", |
| 9386 | # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", |
| 9387 | # "ja" as "Japanese" or "Japanese_Japan.932", |
| 9388 | # and similar. |
| 9389 | mingw*) |
| 9390 | # Note that on native Windows, the Japanese locale is |
| 9391 | # Japanese_Japan.932, and CP932 is very different from EUC-JP, so we |
| 9392 | # cannot use it here. |
| 9393 | gt_cv_locale_ja=none |
| 9394 | ;; |
| 9395 | *) |
| 9396 | # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because |
| 9397 | # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the |
| 9398 | # configure script would override the LC_ALL setting. Likewise for |
| 9399 | # LC_CTYPE, which is also set at the beginning of the configure script. |
| 9400 | # Test for the AIX locale name. |
| 9401 | if (LC_ALL=ja_JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9402 | gt_cv_locale_ja=ja_JP |
| 9403 | else |
| 9404 | # Test for the locale name with explicit encoding suffix. |
| 9405 | if (LC_ALL=ja_JP.EUC-JP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9406 | gt_cv_locale_ja=ja_JP.EUC-JP |
| 9407 | else |
| 9408 | # Test for the HP-UX, OSF/1, NetBSD locale name. |
| 9409 | if (LC_ALL=ja_JP.eucJP LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9410 | gt_cv_locale_ja=ja_JP.eucJP |
| 9411 | else |
| 9412 | # Test for the IRIX, FreeBSD locale name. |
| 9413 | if (LC_ALL=ja_JP.EUC LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9414 | gt_cv_locale_ja=ja_JP.EUC |
| 9415 | else |
| 9416 | # Test for the Solaris 7 locale name. |
| 9417 | if (LC_ALL=ja LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9418 | gt_cv_locale_ja=ja |
| 9419 | else |
| 9420 | # Special test for NetBSD 1.6. |
| 9421 | if testscip-shell system . . test. -f /usr/share/locale/ja_JP.eucJP/LC_CTYPEscip-shell filesystem . . `/usr/share/locale/ja_JP.eucJP/LC_CTYPE`.; then |
| 9422 | gt_cv_locale_ja=ja_JP.eucJP |
| 9423 | else |
| 9424 | # None found. |
| 9425 | gt_cv_locale_ja=none |
| 9426 | fi |
| 9427 | fi |
| 9428 | fi |
| 9429 | fi |
| 9430 | fi |
| 9431 | fi |
| 9432 | ;; |
| 9433 | esac |
| 9434 | fi |
| 9435 | rmscip-shell system . . rm. -fr conftest* |
| 9436 | |
| 9437 | fi |
| 9438 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_ja" >&5 |
| 9439 | printfscip-shell system . . printf. "%s\n" "$gt_cv_locale_ja" >&6; } |
| 9440 | LOCALE_JA=$gt_cv_locale_ja |
| 9441 | |
| 9442 | |
| 9443 | |
| 9444 | |
| 9445 | |
| 9446 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a transitional chinese locale" >&5 |
| 9447 | printfscip-shell system . . printf. %s "checking for a transitional chinese locale... " >&6; } |
| 9448 | if ${gt_cv_locale_zh_CN+:} false; then : |
| 9449 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9450 | else |
| 9451 | |
| 9452 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9453 | /* end confdefs.h. */ |
| 9454 | |
| 9455 | #include <locale.h> |
| 9456 | #include <stdlib.h> |
| 9457 | #include <time.h> |
| 9458 | #if HAVE_LANGINFO_CODESET |
| 9459 | # include <langinfo.h> |
| 9460 | #endif |
| 9461 | #include <stdlib.h> |
| 9462 | #include <string.h> |
| 9463 | struct tm t; |
| 9464 | char buf[16]; |
| 9465 | int main () |
| 9466 | { |
| 9467 | const char *p; |
| 9468 | /* Check whether the given locale name is recognized by the system. */ |
| 9469 | #if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ |
| 9470 | /* On native Windows, setlocale(category, "") looks at the system settings, |
| 9471 | not at the environment variables. Also, when an encoding suffix such |
| 9472 | as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE |
| 9473 | category of the locale to "C". */ |
| 9474 | if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL |
| 9475 | || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) |
| 9476 | return 1; |
| 9477 | #else |
| 9478 | if (setlocale (LC_ALL, "") == NULL) return 1; |
| 9479 | #endif |
| 9480 | /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". |
| 9481 | On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) |
| 9482 | is empty, and the behaviour of Tcl 8.4 in this locale is not useful. |
| 9483 | On OpenBSD 4.0, when an unsupported locale is specified, setlocale() |
| 9484 | succeeds but then nl_langinfo(CODESET) is "646". In this situation, |
| 9485 | some unit tests fail. |
| 9486 | On MirBSD 10, when an unsupported locale is specified, setlocale() |
| 9487 | succeeds but then nl_langinfo(CODESET) is "UTF-8". */ |
| 9488 | #if HAVE_LANGINFO_CODESET |
| 9489 | { |
| 9490 | const char *cs = nl_langinfo (CODESET); |
| 9491 | if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0 |
| 9492 | || strcmp (cs, "UTF-8") == 0) |
| 9493 | return 1; |
| 9494 | } |
| 9495 | #endif |
| 9496 | #ifdef __CYGWIN__ |
| 9497 | /* On Cygwin, avoid locale names without encoding suffix, because the |
| 9498 | locale_charset() function relies on the encoding suffix. Note that |
| 9499 | LC_ALL is set on the command line. */ |
| 9500 | if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; |
| 9501 | #endif |
| 9502 | /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. |
| 9503 | This excludes the UTF-8 encoding (except on MirBSD). */ |
| 9504 | t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; |
| 9505 | if (strftime (buf, sizeof (buf), "%B", &t) < 2) return 1; |
| 9506 | for (p = buf; *p != '\0'; p++) |
| 9507 | if ((unsigned char) *p >= 0x80 && (unsigned char) *p < 0xa0) |
| 9508 | return 1; |
| 9509 | /* Check whether a typical GB18030 multibyte sequence is recognized as a |
| 9510 | single wide character. This excludes the GB2312 and GBK encodings. */ |
| 9511 | if (mblen ("\203\062\332\066", 5) != 4) |
| 9512 | return 1; |
| 9513 | return 0; |
| 9514 | } |
| 9515 | |
| 9516 | _ACEOF |
| 9517 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 9518 | (eval $ac_link) 2>&5 |
| 9519 | ac_status=$? |
| 9520 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9521 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 9522 | case "$host_os" in |
| 9523 | # Handle native Windows specially, because there setlocale() interprets |
| 9524 | # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", |
| 9525 | # "fr" or "fra" as "French" or "French_France.1252", |
| 9526 | # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", |
| 9527 | # "ja" as "Japanese" or "Japanese_Japan.932", |
| 9528 | # and similar. |
| 9529 | mingw*) |
| 9530 | # Test for the hypothetical native Windows locale name. |
| 9531 | if (LC_ALL=Chinese_China.54936 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9532 | gt_cv_locale_zh_CN=Chinese_China.54936 |
| 9533 | else |
| 9534 | # None found. |
| 9535 | gt_cv_locale_zh_CN=none |
| 9536 | fi |
| 9537 | ;; |
| 9538 | solaris2.8) |
| 9539 | # On Solaris 8, the locales zh_CN.GB18030, zh_CN.GBK, zh.GBK are |
| 9540 | # broken. One witness is the test case in gl_MBRTOWC_SANITYCHECK. |
| 9541 | # Another witness is that "LC_ALL=zh_CN.GB18030 bash -c true" dumps core. |
| 9542 | gt_cv_locale_zh_CN=none |
| 9543 | ;; |
| 9544 | *) |
| 9545 | # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because |
| 9546 | # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the |
| 9547 | # configure script would override the LC_ALL setting. Likewise for |
| 9548 | # LC_CTYPE, which is also set at the beginning of the configure script. |
| 9549 | # Test for the locale name without encoding suffix. |
| 9550 | if (LC_ALL=zh_CN LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9551 | gt_cv_locale_zh_CN=zh_CN |
| 9552 | else |
| 9553 | # Test for the locale name with explicit encoding suffix. |
| 9554 | if (LC_ALL=zh_CN.GB18030 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9555 | gt_cv_locale_zh_CN=zh_CN.GB18030 |
| 9556 | else |
| 9557 | # None found. |
| 9558 | gt_cv_locale_zh_CN=none |
| 9559 | fi |
| 9560 | fi |
| 9561 | ;; |
| 9562 | esac |
| 9563 | else |
| 9564 | # If there was a link error, due to mblen(), the system is so old that |
| 9565 | # it certainly doesn't have a chinese locale. |
| 9566 | gt_cv_locale_zh_CN=none |
| 9567 | fi |
| 9568 | rmscip-shell system . . rm. -fr conftest* |
| 9569 | |
| 9570 | fi |
| 9571 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_zh_CN" >&5 |
| 9572 | printfscip-shell system . . printf. "%s\n" "$gt_cv_locale_zh_CN" >&6; } |
| 9573 | LOCALE_ZH_CN=$gt_cv_locale_zh_CN |
| 9574 | |
| 9575 | |
| 9576 | |
| 9577 | |
| 9578 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a french Unicode locale" >&5 |
| 9579 | printfscip-shell system . . printf. %s "checking for a french Unicode locale... " >&6; } |
| 9580 | if ${gt_cv_locale_fr_utf8+:} false; then : |
| 9581 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9582 | else |
| 9583 | |
| 9584 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9585 | /* end confdefs.h. */ |
| 9586 | |
| 9587 | #include <locale.h> |
| 9588 | #include <time.h> |
| 9589 | #if HAVE_LANGINFO_CODESET |
| 9590 | # include <langinfo.h> |
| 9591 | #endif |
| 9592 | #include <stdlib.h> |
| 9593 | #include <string.h> |
| 9594 | struct tm t; |
| 9595 | char buf[16]; |
| 9596 | int main () { |
| 9597 | /* On BeOS and Haiku, locales are not implemented in libc. Rather, libintl |
| 9598 | imitates locale dependent behaviour by looking at the environment |
| 9599 | variables, and all locales use the UTF-8 encoding. */ |
| 9600 | #if !(defined __BEOS__ || defined __HAIKU__) |
| 9601 | /* Check whether the given locale name is recognized by the system. */ |
| 9602 | # if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ |
| 9603 | /* On native Windows, setlocale(category, "") looks at the system settings, |
| 9604 | not at the environment variables. Also, when an encoding suffix such |
| 9605 | as ".65001" or ".54936" is specified, it succeeds but sets the LC_CTYPE |
| 9606 | category of the locale to "C". */ |
| 9607 | if (setlocale (LC_ALL, getenv ("LC_ALL")) == NULL |
| 9608 | || strcmp (setlocale (LC_CTYPE, NULL), "C") == 0) |
| 9609 | return 1; |
| 9610 | # else |
| 9611 | if (setlocale (LC_ALL, "") == NULL) return 1; |
| 9612 | # endif |
| 9613 | /* Check whether nl_langinfo(CODESET) is nonempty and not "ASCII" or "646". |
| 9614 | On Mac OS X 10.3.5 (Darwin 7.5) in the fr_FR locale, nl_langinfo(CODESET) |
| 9615 | is empty, and the behaviour of Tcl 8.4 in this locale is not useful. |
| 9616 | On OpenBSD 4.0, when an unsupported locale is specified, setlocale() |
| 9617 | succeeds but then nl_langinfo(CODESET) is "646". In this situation, |
| 9618 | some unit tests fail. */ |
| 9619 | # if HAVE_LANGINFO_CODESET |
| 9620 | { |
| 9621 | const char *cs = nl_langinfo (CODESET); |
| 9622 | if (cs[0] == '\0' || strcmp (cs, "ASCII") == 0 || strcmp (cs, "646") == 0) |
| 9623 | return 1; |
| 9624 | } |
| 9625 | # endif |
| 9626 | # ifdef __CYGWIN__ |
| 9627 | /* On Cygwin, avoid locale names without encoding suffix, because the |
| 9628 | locale_charset() function relies on the encoding suffix. Note that |
| 9629 | LC_ALL is set on the command line. */ |
| 9630 | if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; |
| 9631 | # endif |
| 9632 | /* Check whether in the abbreviation of the second month, the second |
| 9633 | character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is |
| 9634 | two bytes long, with UTF-8 encoding. */ |
| 9635 | t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4; |
| 9636 | if (strftime (buf, sizeof (buf), "%b", &t) < 4 |
| 9637 | || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v') |
| 9638 | return 1; |
| 9639 | #endif |
| 9640 | #if !defined __BIONIC__ /* Bionic libc's 'struct lconv' is just a dummy. */ |
| 9641 | /* Check whether the decimal separator is a comma. |
| 9642 | On NetBSD 3.0 in the fr_FR.ISO8859-1 locale, localeconv()->decimal_point |
| 9643 | are nl_langinfo(RADIXCHAR) are both ".". */ |
| 9644 | if (localeconv () ->decimal_point[0] != ',') return 1; |
| 9645 | #endif |
| 9646 | return 0; |
| 9647 | } |
| 9648 | |
| 9649 | _ACEOF |
| 9650 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
| 9651 | (eval $ac_link) 2>&5 |
| 9652 | ac_status=$? |
| 9653 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 9654 | testscip-shell system . . test. $ac_status = 0; } && testscip-shell system . . test. -s conftest$ac_exeext; then |
| 9655 | case "$host_os" in |
| 9656 | # Handle native Windows specially, because there setlocale() interprets |
| 9657 | # "ar" as "Arabic" or "Arabic_Saudi Arabia.1256", |
| 9658 | # "fr" or "fra" as "French" or "French_France.1252", |
| 9659 | # "ge"(!) or "deu"(!) as "German" or "German_Germany.1252", |
| 9660 | # "ja" as "Japanese" or "Japanese_Japan.932", |
| 9661 | # and similar. |
| 9662 | mingw*) |
| 9663 | # Test for the hypothetical native Windows locale name. |
| 9664 | if (LC_ALL=French_France.65001 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9665 | gt_cv_locale_fr_utf8=French_France.65001 |
| 9666 | else |
| 9667 | # None found. |
| 9668 | gt_cv_locale_fr_utf8=none |
| 9669 | fi |
| 9670 | ;; |
| 9671 | *) |
| 9672 | # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because |
| 9673 | # otherwise on Mac OS X 10.3.5 the LC_TIME=C from the beginning of the |
| 9674 | # configure script would override the LC_ALL setting. Likewise for |
| 9675 | # LC_CTYPE, which is also set at the beginning of the configure script. |
| 9676 | # Test for the usual locale name. |
| 9677 | if (LC_ALL=fr_FR LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9678 | gt_cv_locale_fr_utf8=fr_FR |
| 9679 | else |
| 9680 | # Test for the locale name with explicit encoding suffix. |
| 9681 | if (LC_ALL=fr_FR.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9682 | gt_cv_locale_fr_utf8=fr_FR.UTF-8 |
| 9683 | else |
| 9684 | # Test for the Solaris 7 locale name. |
| 9685 | if (LC_ALL=fr.UTF-8 LC_TIME= LC_CTYPE= ./conftest; exit) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then |
| 9686 | gt_cv_locale_fr_utf8=fr.UTF-8 |
| 9687 | else |
| 9688 | # None found. |
| 9689 | gt_cv_locale_fr_utf8=none |
| 9690 | fi |
| 9691 | fi |
| 9692 | fi |
| 9693 | ;; |
| 9694 | esac |
| 9695 | fi |
| 9696 | rmscip-shell system . . rm. -fr conftest* |
| 9697 | |
| 9698 | fi |
| 9699 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_locale_fr_utf8" >&5 |
| 9700 | printfscip-shell system . . printf. "%s\n" "$gt_cv_locale_fr_utf8" >&6; } |
| 9701 | LOCALE_FR_UTF8=$gt_cv_locale_fr_utf8 |
| 9702 | |
| 9703 | |
| 9704 | |
| 9705 | |
| 9706 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
| 9707 | printfscip-shell system . . printf. %s "checking for stdbool.h that conforms to C99... " >&6; } |
| 9708 | if ${ac_cv_header_stdbool_h+:} false; then : |
| 9709 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9710 | else |
| 9711 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9712 | /* end confdefs.h. */ |
| 9713 | |
| 9714 | #include <stdbool.h> |
| 9715 | #ifndef bool |
| 9716 | "error: bool is not defined" |
| 9717 | #endif |
| 9718 | #ifndef false |
| 9719 | "error: false is not defined" |
| 9720 | #endif |
| 9721 | #if false |
| 9722 | "error: false is not 0" |
| 9723 | #endif |
| 9724 | #ifndef true |
| 9725 | "error: true is not defined" |
| 9726 | #endif |
| 9727 | #if true != 1 |
| 9728 | "error: true is not 1" |
| 9729 | #endif |
| 9730 | #ifndef __bool_true_false_are_defined |
| 9731 | "error: __bool_true_false_are_defined is not defined" |
| 9732 | #endif |
| 9733 | |
| 9734 | struct s { _Bool s: 1; _Bool t; } s; |
| 9735 | |
| 9736 | char a[true == 1 ? 1 : -1]; |
| 9737 | char b[false == 0 ? 1 : -1]; |
| 9738 | char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
| 9739 | char d[(bool) 0.5 == true ? 1 : -1]; |
| 9740 | /* See body of main program for 'e'. */ |
| 9741 | char f[(_Bool) 0.0 == false ? 1 : -1]; |
| 9742 | char g[true]; |
| 9743 | char h[sizeof (_Bool)]; |
| 9744 | char i[sizeof s.t]; |
| 9745 | enum { j = false, k = true, l = false * true, m = true * 256 }; |
| 9746 | /* The following fails for |
| 9747 | HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
| 9748 | _Bool n[m]; |
| 9749 | char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
| 9750 | char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
| 9751 | /* Catch a bug in an HP-UX C compiler. See |
| 9752 | http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
| 9753 | http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
| 9754 | */ |
| 9755 | _Bool q = true; |
| 9756 | _Bool *pq = &q; |
| 9757 | |
| 9758 | int |
| 9759 | main () |
| 9760 | { |
| 9761 | |
| 9762 | bool e = &s; |
| 9763 | *pq |= q; |
| 9764 | *pq |= ! q; |
| 9765 | /* Refer to every declared value, to avoid compiler optimizations. */ |
| 9766 | return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
| 9767 | + !m + !n + !o + !p + !q + !pq); |
| 9768 | |
| 9769 | ; |
| 9770 | return 0; |
| 9771 | } |
| 9772 | _ACEOF |
| 9773 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 9774 | ac_cv_header_stdbool_h=yes |
| 9775 | else |
| 9776 | ac_cv_header_stdbool_h=no |
| 9777 | fi |
| 9778 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9779 | fi |
| 9780 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
| 9781 | printfscip-shell system . . printf. "%s\n" "$ac_cv_header_stdbool_h" >&6; } |
| 9782 | ac_fn_c_check_typescip-shell shell cppi 1.18-6 ac_fn_c_check_type(). "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
| 9783 | if testscip-shell system . . test. "x$ac_cv_type__Bool" = xyes; then : |
| 9784 | |
| 9785 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 9786 | #define HAVE__BOOL 1 |
| 9787 | _ACEOF |
| 9788 | |
| 9789 | |
| 9790 | fi |
| 9791 | |
| 9792 | |
| 9793 | |
| 9794 | REPLACE_NULL=0; |
| 9795 | HAVE_WCHAR_T=1; |
| 9796 | |
| 9797 | |
| 9798 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 |
| 9799 | printfscip-shell system . . printf. %s "checking for wchar_t... " >&6; } |
| 9800 | if ${gt_cv_c_wchar_t+:} false; then : |
| 9801 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9802 | else |
| 9803 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9804 | /* end confdefs.h. */ |
| 9805 | #include <stddef.h> |
| 9806 | wchar_t foo = (wchar_t)'\0'; |
| 9807 | int |
| 9808 | main () |
| 9809 | { |
| 9810 | |
| 9811 | ; |
| 9812 | return 0; |
| 9813 | } |
| 9814 | _ACEOF |
| 9815 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 9816 | gt_cv_c_wchar_t=yes |
| 9817 | else |
| 9818 | gt_cv_c_wchar_t=no |
| 9819 | fi |
| 9820 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9821 | fi |
| 9822 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 |
| 9823 | printfscip-shell system . . printf. "%s\n" "$gt_cv_c_wchar_t" >&6; } |
| 9824 | if testscip-shell system . . test. $gt_cv_c_wchar_t = yes; then |
| 9825 | |
| 9826 | printfscip-shell system . . printf. "%s\n" "#define HAVE_WCHAR_T 1" >>confdefs.h |
| 9827 | |
| 9828 | fi |
| 9829 | |
| 9830 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 |
| 9831 | printfscip-shell system . . printf. %s "checking for C/C++ restrict keyword... " >&6; } |
| 9832 | if ${ac_cv_c_restrict+:} false; then : |
| 9833 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9834 | else |
| 9835 | ac_cv_c_restrict=no |
| 9836 | # The order here caters to the fact that C++ does not require restrict. |
| 9837 | for ac_kw in __restrict __restrict__ _Restrict restrict; do |
| 9838 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9839 | /* end confdefs.h. */ |
| 9840 | typedef int * int_ptr; |
| 9841 | int foo (int_ptr $ac_kw ip) { |
| 9842 | return ip[0]; |
| 9843 | } |
| 9844 | int |
| 9845 | main () |
| 9846 | { |
| 9847 | int s[1]; |
| 9848 | int * $ac_kw t = s; |
| 9849 | t[0] = 0; |
| 9850 | return foo(t) |
| 9851 | ; |
| 9852 | return 0; |
| 9853 | } |
| 9854 | _ACEOF |
| 9855 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 9856 | ac_cv_c_restrict=$ac_kw |
| 9857 | fi |
| 9858 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9859 | testscip-shell system . . test. "$ac_cv_c_restrict" != no && break |
| 9860 | done |
| 9861 | |
| 9862 | fi |
| 9863 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 |
| 9864 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_restrict" >&6; } |
| 9865 | |
| 9866 | case $ac_cv_c_restrict in |
| 9867 | restrict) ;; |
| 9868 | no) printfscip-shell system . . printf. "%s\n" "#define restrict /**/" >>confdefs.h |
| 9869 | ;; |
| 9870 | *) catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 9871 | #define restrict $ac_cv_c_restrict |
| 9872 | _ACEOF |
| 9873 | ;; |
| 9874 | esac |
| 9875 | |
| 9876 | |
| 9877 | GNULIB_FFSL=0; |
| 9878 | GNULIB_FFSLL=0; |
| 9879 | GNULIB_MEMCHR=0; |
| 9880 | GNULIB_MEMMEM=0; |
| 9881 | GNULIB_MEMPCPY=0; |
| 9882 | GNULIB_MEMRCHR=0; |
| 9883 | GNULIB_RAWMEMCHR=0; |
| 9884 | GNULIB_STPCPY=0; |
| 9885 | GNULIB_STPNCPY=0; |
| 9886 | GNULIB_STRCHRNUL=0; |
| 9887 | GNULIB_STRDUP=0; |
| 9888 | GNULIB_STRNCAT=0; |
| 9889 | GNULIB_STRNDUP=0; |
| 9890 | GNULIB_STRNLEN=0; |
| 9891 | GNULIB_STRPBRK=0; |
| 9892 | GNULIB_STRSEP=0; |
| 9893 | GNULIB_STRSTR=0; |
| 9894 | GNULIB_STRCASESTR=0; |
| 9895 | GNULIB_STRTOK_R=0; |
| 9896 | GNULIB_MBSLEN=0; |
| 9897 | GNULIB_MBSNLEN=0; |
| 9898 | GNULIB_MBSCHR=0; |
| 9899 | GNULIB_MBSRCHR=0; |
| 9900 | GNULIB_MBSSTR=0; |
| 9901 | GNULIB_MBSCASECMP=0; |
| 9902 | GNULIB_MBSNCASECMP=0; |
| 9903 | GNULIB_MBSPCASECMP=0; |
| 9904 | GNULIB_MBSCASESTR=0; |
| 9905 | GNULIB_MBSCSPN=0; |
| 9906 | GNULIB_MBSPBRK=0; |
| 9907 | GNULIB_MBSSPN=0; |
| 9908 | GNULIB_MBSSEP=0; |
| 9909 | GNULIB_MBSTOK_R=0; |
| 9910 | GNULIB_STRERROR=0; |
| 9911 | GNULIB_STRERROR_R=0; |
| 9912 | GNULIB_STRSIGNAL=0; |
| 9913 | GNULIB_STRVERSCMP=0; |
| 9914 | HAVE_MBSLEN=0; |
| 9915 | HAVE_FFSL=1; |
| 9916 | HAVE_FFSLL=1; |
| 9917 | HAVE_MEMCHR=1; |
| 9918 | HAVE_DECL_MEMMEM=1; |
| 9919 | HAVE_MEMPCPY=1; |
| 9920 | HAVE_DECL_MEMRCHR=1; |
| 9921 | HAVE_RAWMEMCHR=1; |
| 9922 | HAVE_STPCPY=1; |
| 9923 | HAVE_STPNCPY=1; |
| 9924 | HAVE_STRCHRNUL=1; |
| 9925 | HAVE_DECL_STRDUP=1; |
| 9926 | HAVE_DECL_STRNDUP=1; |
| 9927 | HAVE_DECL_STRNLEN=1; |
| 9928 | HAVE_STRPBRK=1; |
| 9929 | HAVE_STRSEP=1; |
| 9930 | HAVE_STRCASESTR=1; |
| 9931 | HAVE_DECL_STRTOK_R=1; |
| 9932 | HAVE_DECL_STRERROR_R=1; |
| 9933 | HAVE_DECL_STRSIGNAL=1; |
| 9934 | HAVE_STRVERSCMP=1; |
| 9935 | REPLACE_MEMCHR=0; |
| 9936 | REPLACE_MEMMEM=0; |
| 9937 | REPLACE_STPNCPY=0; |
| 9938 | REPLACE_STRDUP=0; |
| 9939 | REPLACE_STRSTR=0; |
| 9940 | REPLACE_STRCASESTR=0; |
| 9941 | REPLACE_STRCHRNUL=0; |
| 9942 | REPLACE_STRERROR=0; |
| 9943 | REPLACE_STRERROR_R=0; |
| 9944 | REPLACE_STRNCAT=0; |
| 9945 | REPLACE_STRNDUP=0; |
| 9946 | REPLACE_STRNLEN=0; |
| 9947 | REPLACE_STRSIGNAL=0; |
| 9948 | REPLACE_STRTOK_R=0; |
| 9949 | UNDEFINE_STRTOK_R=0; |
| 9950 | |
| 9951 | |
| 9952 | REPLACE_STRERROR_0=0 |
| 9953 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 |
| 9954 | printfscip-shell system . . printf. %s "checking whether strerror(0) succeeds... " >&6; } |
| 9955 | if ${gl_cv_func_strerror_0_works+:} false; then : |
| 9956 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 9957 | else |
| 9958 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 9959 | case "$host_os" in |
| 9960 | # Guess yes on glibc systems. |
| 9961 | *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; |
| 9962 | # If we don't know, assume the worst. |
| 9963 | *) gl_cv_func_strerror_0_works="guessing no" ;; |
| 9964 | esac |
| 9965 | |
| 9966 | else |
| 9967 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 9968 | /* end confdefs.h. */ |
| 9969 | #include <string.h> |
| 9970 | #include <errno.h> |
| 9971 | |
| 9972 | int |
| 9973 | main () |
| 9974 | { |
| 9975 | int result = 0; |
| 9976 | char *str; |
| 9977 | errno = 0; |
| 9978 | str = strerror (0); |
| 9979 | if (!*str) result |= 1; |
| 9980 | if (errno) result |= 2; |
| 9981 | if (strstr (str, "nknown") || strstr (str, "ndefined")) |
| 9982 | result |= 4; |
| 9983 | return result; |
| 9984 | ; |
| 9985 | return 0; |
| 9986 | } |
| 9987 | _ACEOF |
| 9988 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 9989 | gl_cv_func_strerror_0_works=yes |
| 9990 | else |
| 9991 | gl_cv_func_strerror_0_works=no |
| 9992 | fi |
| 9993 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 9994 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 9995 | fi |
| 9996 | |
| 9997 | |
| 9998 | fi |
| 9999 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 |
| 10000 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_strerror_0_works" >&6; } |
| 10001 | case "$gl_cv_func_strerror_0_works" in |
| 10002 | *yes) ;; |
| 10003 | *) |
| 10004 | REPLACE_STRERROR_0=1 |
| 10005 | |
| 10006 | printfscip-shell system . . printf. "%s\n" "#define REPLACE_STRERROR_0 1" >>confdefs.h |
| 10007 | |
| 10008 | ;; |
| 10009 | esac |
| 10010 | |
| 10011 | |
| 10012 | |
| 10013 | |
| 10014 | |
| 10015 | |
| 10016 | |
| 10017 | |
| 10018 | |
| 10019 | |
| 10020 | |
| 10021 | |
| 10022 | |
| 10023 | |
| 10024 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 10025 | gl_cv_next_string_h='<'string.h'>' |
| 10026 | else |
| 10027 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5 |
| 10028 | printfscip-shell system . . printf. %s "checking absolute name of <string.h>... " >&6; } |
| 10029 | if ${gl_cv_next_string_h+:} false; then : |
| 10030 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10031 | else |
| 10032 | |
| 10033 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10034 | /* end confdefs.h. */ |
| 10035 | #include <string.h> |
| 10036 | |
| 10037 | _ACEOF |
| 10038 | case "$host_os" in |
| 10039 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 10040 | *) gl_absname_cpp="$ac_cpp" ;; |
| 10041 | esac |
| 10042 | |
| 10043 | case "$host_os" in |
| 10044 | mingw*) |
| 10045 | gl_dirsep_regex='[/\\]' |
| 10046 | ;; |
| 10047 | *) |
| 10048 | gl_dirsep_regex='\/' |
| 10049 | ;; |
| 10050 | esac |
| 10051 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 10052 | |
| 10053 | gl_header_literal_regex=`echoscip-shell system . . echo. 'string.h' \ |
| 10054 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 10055 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 10056 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 10057 | s|^/[^/]|//&| |
| 10058 | p |
| 10059 | q |
| 10060 | }' |
| 10061 | gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 10062 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 10063 | |
| 10064 | |
| 10065 | fi |
| 10066 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 |
| 10067 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_string_h" >&6; } |
| 10068 | fi |
| 10069 | NEXT_STRING_H=$gl_cv_next_string_h |
| 10070 | |
| 10071 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 10072 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 10073 | gl_next_as_first_directive='<'string.h'>' |
| 10074 | else |
| 10075 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 10076 | gl_next_as_first_directive=$gl_cv_next_string_h |
| 10077 | fi |
| 10078 | NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive |
| 10079 | |
| 10080 | |
| 10081 | |
| 10082 | |
| 10083 | |
| 10084 | |
| 10085 | for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do |
| 10086 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 10087 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 10088 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 10089 | if eval \${$as_gl_Symbol+:} false; then : |
| 10090 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10091 | else |
| 10092 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10093 | /* end confdefs.h. */ |
| 10094 | #include <string.h> |
| 10095 | |
| 10096 | int |
| 10097 | main () |
| 10098 | { |
| 10099 | #undef $gl_func |
| 10100 | (void) $gl_func; |
| 10101 | ; |
| 10102 | return 0; |
| 10103 | } |
| 10104 | _ACEOF |
| 10105 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 10106 | eval "$as_gl_Symbol=yes" |
| 10107 | else |
| 10108 | eval "$as_gl_Symbol=no" |
| 10109 | fi |
| 10110 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10111 | fi |
| 10112 | eval ac_res=\$$as_gl_Symbol |
| 10113 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 10114 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 10115 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 10116 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10117 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 10118 | _ACEOF |
| 10119 | |
| 10120 | eval ac_cv_have_decl_$gl_func=yes |
| 10121 | fi |
| 10122 | done |
| 10123 | |
| 10124 | |
| 10125 | |
| 10126 | |
| 10127 | ac_fn_c_check_typescip-shell shell cppi 1.18-6 ac_fn_c_check_type(). "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
| 10128 | if testscip-shell system . . test. "x$ac_cv_type_pid_t" = xyes; then : |
| 10129 | |
| 10130 | else |
| 10131 | |
| 10132 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10133 | #define pid_t int |
| 10134 | _ACEOF |
| 10135 | |
| 10136 | fi |
| 10137 | |
| 10138 | ac_fn_c_check_typescip-shell shell cppi 1.18-6 ac_fn_c_check_type(). "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" |
| 10139 | if testscip-shell system . . test. "x$ac_cv_type_mode_t" = xyes; then : |
| 10140 | |
| 10141 | else |
| 10142 | |
| 10143 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10144 | #define mode_t int |
| 10145 | _ACEOF |
| 10146 | |
| 10147 | fi |
| 10148 | |
| 10149 | |
| 10150 | |
| 10151 | WINDOWS_64_BIT_OFF_T=0 |
| 10152 | |
| 10153 | |
| 10154 | |
| 10155 | |
| 10156 | |
| 10157 | |
| 10158 | |
| 10159 | |
| 10160 | |
| 10161 | |
| 10162 | |
| 10163 | |
| 10164 | |
| 10165 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 10166 | gl_cv_next_sys_types_h='<'sys/types.h'>' |
| 10167 | else |
| 10168 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/types.h>" >&5 |
| 10169 | printfscip-shell system . . printf. %s "checking absolute name of <sys/types.h>... " >&6; } |
| 10170 | if ${gl_cv_next_sys_types_h+:} false; then : |
| 10171 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10172 | else |
| 10173 | |
| 10174 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10175 | /* end confdefs.h. */ |
| 10176 | #include <sys/types.h> |
| 10177 | |
| 10178 | _ACEOF |
| 10179 | case "$host_os" in |
| 10180 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 10181 | *) gl_absname_cpp="$ac_cpp" ;; |
| 10182 | esac |
| 10183 | |
| 10184 | case "$host_os" in |
| 10185 | mingw*) |
| 10186 | gl_dirsep_regex='[/\\]' |
| 10187 | ;; |
| 10188 | *) |
| 10189 | gl_dirsep_regex='\/' |
| 10190 | ;; |
| 10191 | esac |
| 10192 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 10193 | |
| 10194 | gl_header_literal_regex=`echoscip-shell system . . echo. 'sys/types.h' \ |
| 10195 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 10196 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 10197 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 10198 | s|^/[^/]|//&| |
| 10199 | p |
| 10200 | q |
| 10201 | }' |
| 10202 | gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 10203 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 10204 | |
| 10205 | |
| 10206 | fi |
| 10207 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 |
| 10208 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_sys_types_h" >&6; } |
| 10209 | fi |
| 10210 | NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h |
| 10211 | |
| 10212 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 10213 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 10214 | gl_next_as_first_directive='<'sys/types.h'>' |
| 10215 | else |
| 10216 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 10217 | gl_next_as_first_directive=$gl_cv_next_sys_types_h |
| 10218 | fi |
| 10219 | NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive |
| 10220 | |
| 10221 | |
| 10222 | |
| 10223 | |
| 10224 | |
| 10225 | |
| 10226 | |
| 10227 | |
| 10228 | |
| 10229 | |
| 10230 | |
| 10231 | |
| 10232 | GNULIB_MKTIME=0; |
| 10233 | GNULIB_NANOSLEEP=0; |
| 10234 | GNULIB_STRPTIME=0; |
| 10235 | GNULIB_TIMEGM=0; |
| 10236 | GNULIB_TIME_R=0; |
| 10237 | HAVE_DECL_LOCALTIME_R=1; |
| 10238 | HAVE_NANOSLEEP=1; |
| 10239 | HAVE_STRPTIME=1; |
| 10240 | HAVE_TIMEGM=1; |
| 10241 | REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; |
| 10242 | REPLACE_MKTIME=GNULIB_PORTCHECK; |
| 10243 | REPLACE_NANOSLEEP=GNULIB_PORTCHECK; |
| 10244 | REPLACE_TIMEGM=GNULIB_PORTCHECK; |
| 10245 | |
| 10246 | |
| 10247 | |
| 10248 | |
| 10249 | |
| 10250 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5 |
| 10251 | printfscip-shell system . . printf. %s "checking for struct timespec in <time.h>... " >&6; } |
| 10252 | if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : |
| 10253 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10254 | else |
| 10255 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10256 | /* end confdefs.h. */ |
| 10257 | #include <time.h> |
| 10258 | |
| 10259 | int |
| 10260 | main () |
| 10261 | { |
| 10262 | static struct timespec x; x.tv_sec = x.tv_nsec; |
| 10263 | ; |
| 10264 | return 0; |
| 10265 | } |
| 10266 | _ACEOF |
| 10267 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 10268 | gl_cv_sys_struct_timespec_in_time_h=yes |
| 10269 | else |
| 10270 | gl_cv_sys_struct_timespec_in_time_h=no |
| 10271 | fi |
| 10272 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10273 | fi |
| 10274 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 |
| 10275 | printfscip-shell system . . printf. "%s\n" "$gl_cv_sys_struct_timespec_in_time_h" >&6; } |
| 10276 | |
| 10277 | TIME_H_DEFINES_STRUCT_TIMESPEC=0 |
| 10278 | SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 |
| 10279 | PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 |
| 10280 | if testscip-shell system . . test. $gl_cv_sys_struct_timespec_in_time_h = yes; then |
| 10281 | TIME_H_DEFINES_STRUCT_TIMESPEC=1 |
| 10282 | else |
| 10283 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5 |
| 10284 | printfscip-shell system . . printf. %s "checking for struct timespec in <sys/time.h>... " >&6; } |
| 10285 | if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : |
| 10286 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10287 | else |
| 10288 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10289 | /* end confdefs.h. */ |
| 10290 | #include <sys/time.h> |
| 10291 | |
| 10292 | int |
| 10293 | main () |
| 10294 | { |
| 10295 | static struct timespec x; x.tv_sec = x.tv_nsec; |
| 10296 | ; |
| 10297 | return 0; |
| 10298 | } |
| 10299 | _ACEOF |
| 10300 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 10301 | gl_cv_sys_struct_timespec_in_sys_time_h=yes |
| 10302 | else |
| 10303 | gl_cv_sys_struct_timespec_in_sys_time_h=no |
| 10304 | fi |
| 10305 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10306 | fi |
| 10307 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 |
| 10308 | printfscip-shell system . . printf. "%s\n" "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } |
| 10309 | if testscip-shell system . . test. $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then |
| 10310 | SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 |
| 10311 | else |
| 10312 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5 |
| 10313 | printfscip-shell system . . printf. %s "checking for struct timespec in <pthread.h>... " >&6; } |
| 10314 | if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : |
| 10315 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10316 | else |
| 10317 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10318 | /* end confdefs.h. */ |
| 10319 | #include <pthread.h> |
| 10320 | |
| 10321 | int |
| 10322 | main () |
| 10323 | { |
| 10324 | static struct timespec x; x.tv_sec = x.tv_nsec; |
| 10325 | ; |
| 10326 | return 0; |
| 10327 | } |
| 10328 | _ACEOF |
| 10329 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 10330 | gl_cv_sys_struct_timespec_in_pthread_h=yes |
| 10331 | else |
| 10332 | gl_cv_sys_struct_timespec_in_pthread_h=no |
| 10333 | fi |
| 10334 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10335 | fi |
| 10336 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 |
| 10337 | printfscip-shell system . . printf. "%s\n" "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } |
| 10338 | if testscip-shell system . . test. $gl_cv_sys_struct_timespec_in_pthread_h = yes; then |
| 10339 | PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 |
| 10340 | fi |
| 10341 | fi |
| 10342 | fi |
| 10343 | |
| 10344 | |
| 10345 | |
| 10346 | |
| 10347 | |
| 10348 | |
| 10349 | |
| 10350 | |
| 10351 | |
| 10352 | |
| 10353 | |
| 10354 | |
| 10355 | |
| 10356 | |
| 10357 | |
| 10358 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 10359 | gl_cv_next_time_h='<'time.h'>' |
| 10360 | else |
| 10361 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5 |
| 10362 | printfscip-shell system . . printf. %s "checking absolute name of <time.h>... " >&6; } |
| 10363 | if ${gl_cv_next_time_h+:} false; then : |
| 10364 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10365 | else |
| 10366 | |
| 10367 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10368 | /* end confdefs.h. */ |
| 10369 | #include <time.h> |
| 10370 | |
| 10371 | _ACEOF |
| 10372 | case "$host_os" in |
| 10373 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 10374 | *) gl_absname_cpp="$ac_cpp" ;; |
| 10375 | esac |
| 10376 | |
| 10377 | case "$host_os" in |
| 10378 | mingw*) |
| 10379 | gl_dirsep_regex='[/\\]' |
| 10380 | ;; |
| 10381 | *) |
| 10382 | gl_dirsep_regex='\/' |
| 10383 | ;; |
| 10384 | esac |
| 10385 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 10386 | |
| 10387 | gl_header_literal_regex=`echoscip-shell system . . echo. 'time.h' \ |
| 10388 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 10389 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 10390 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 10391 | s|^/[^/]|//&| |
| 10392 | p |
| 10393 | q |
| 10394 | }' |
| 10395 | gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 10396 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 10397 | |
| 10398 | |
| 10399 | fi |
| 10400 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 |
| 10401 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_time_h" >&6; } |
| 10402 | fi |
| 10403 | NEXT_TIME_H=$gl_cv_next_time_h |
| 10404 | |
| 10405 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 10406 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 10407 | gl_next_as_first_directive='<'time.h'>' |
| 10408 | else |
| 10409 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 10410 | gl_next_as_first_directive=$gl_cv_next_time_h |
| 10411 | fi |
| 10412 | NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive |
| 10413 | |
| 10414 | |
| 10415 | |
| 10416 | |
| 10417 | |
| 10418 | |
| 10419 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" |
| 10420 | if testscip-shell system . . test. "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : |
| 10421 | ac_have_decl=1 |
| 10422 | else |
| 10423 | ac_have_decl=0 |
| 10424 | fi |
| 10425 | |
| 10426 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10427 | #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl |
| 10428 | _ACEOF |
| 10429 | |
| 10430 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" |
| 10431 | if testscip-shell system . . test. "x$ac_cv_have_decl_feof_unlocked" = xyes; then : |
| 10432 | ac_have_decl=1 |
| 10433 | else |
| 10434 | ac_have_decl=0 |
| 10435 | fi |
| 10436 | |
| 10437 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10438 | #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl |
| 10439 | _ACEOF |
| 10440 | |
| 10441 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" |
| 10442 | if testscip-shell system . . test. "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : |
| 10443 | ac_have_decl=1 |
| 10444 | else |
| 10445 | ac_have_decl=0 |
| 10446 | fi |
| 10447 | |
| 10448 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10449 | #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl |
| 10450 | _ACEOF |
| 10451 | |
| 10452 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" |
| 10453 | if testscip-shell system . . test. "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : |
| 10454 | ac_have_decl=1 |
| 10455 | else |
| 10456 | ac_have_decl=0 |
| 10457 | fi |
| 10458 | |
| 10459 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10460 | #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl |
| 10461 | _ACEOF |
| 10462 | |
| 10463 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" |
| 10464 | if testscip-shell system . . test. "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : |
| 10465 | ac_have_decl=1 |
| 10466 | else |
| 10467 | ac_have_decl=0 |
| 10468 | fi |
| 10469 | |
| 10470 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10471 | #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl |
| 10472 | _ACEOF |
| 10473 | |
| 10474 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" |
| 10475 | if testscip-shell system . . test. "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : |
| 10476 | ac_have_decl=1 |
| 10477 | else |
| 10478 | ac_have_decl=0 |
| 10479 | fi |
| 10480 | |
| 10481 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10482 | #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl |
| 10483 | _ACEOF |
| 10484 | |
| 10485 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" |
| 10486 | if testscip-shell system . . test. "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : |
| 10487 | ac_have_decl=1 |
| 10488 | else |
| 10489 | ac_have_decl=0 |
| 10490 | fi |
| 10491 | |
| 10492 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10493 | #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl |
| 10494 | _ACEOF |
| 10495 | |
| 10496 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" |
| 10497 | if testscip-shell system . . test. "x$ac_cv_have_decl_fread_unlocked" = xyes; then : |
| 10498 | ac_have_decl=1 |
| 10499 | else |
| 10500 | ac_have_decl=0 |
| 10501 | fi |
| 10502 | |
| 10503 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10504 | #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl |
| 10505 | _ACEOF |
| 10506 | |
| 10507 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" |
| 10508 | if testscip-shell system . . test. "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : |
| 10509 | ac_have_decl=1 |
| 10510 | else |
| 10511 | ac_have_decl=0 |
| 10512 | fi |
| 10513 | |
| 10514 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10515 | #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl |
| 10516 | _ACEOF |
| 10517 | |
| 10518 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" |
| 10519 | if testscip-shell system . . test. "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : |
| 10520 | ac_have_decl=1 |
| 10521 | else |
| 10522 | ac_have_decl=0 |
| 10523 | fi |
| 10524 | |
| 10525 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10526 | #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl |
| 10527 | _ACEOF |
| 10528 | |
| 10529 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" |
| 10530 | if testscip-shell system . . test. "x$ac_cv_have_decl_putc_unlocked" = xyes; then : |
| 10531 | ac_have_decl=1 |
| 10532 | else |
| 10533 | ac_have_decl=0 |
| 10534 | fi |
| 10535 | |
| 10536 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10537 | #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl |
| 10538 | _ACEOF |
| 10539 | |
| 10540 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" |
| 10541 | if testscip-shell system . . test. "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : |
| 10542 | ac_have_decl=1 |
| 10543 | else |
| 10544 | ac_have_decl=0 |
| 10545 | fi |
| 10546 | |
| 10547 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10548 | #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl |
| 10549 | _ACEOF |
| 10550 | |
| 10551 | |
| 10552 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5 |
| 10553 | printfscip-shell system . . printf. %s "checking whether <wchar.h> uses 'inline' correctly... " >&6; } |
| 10554 | if ${gl_cv_header_wchar_h_correct_inline+:} false; then : |
| 10555 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10556 | else |
| 10557 | gl_cv_header_wchar_h_correct_inline=yes |
| 10558 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10559 | /* end confdefs.h. */ |
| 10560 | |
| 10561 | #define wcstod renamed_wcstod |
| 10562 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 10563 | <wchar.h>. |
| 10564 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 10565 | included before <wchar.h>. */ |
| 10566 | #include <stddef.h> |
| 10567 | #include <stdio.h> |
| 10568 | #include <time.h> |
| 10569 | #include <wchar.h> |
| 10570 | extern int zero (void); |
| 10571 | int main () { return zero(); } |
| 10572 | |
| 10573 | _ACEOF |
| 10574 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10575 | (eval $ac_compile) 2>&5 |
| 10576 | ac_status=$? |
| 10577 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10578 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10579 | mvscip-shell system . . mv. conftest.$ac_objext conftest1.$ac_objext |
| 10580 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10581 | /* end confdefs.h. */ |
| 10582 | |
| 10583 | #define wcstod renamed_wcstod |
| 10584 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 10585 | <wchar.h>. |
| 10586 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 10587 | included before <wchar.h>. */ |
| 10588 | #include <stddef.h> |
| 10589 | #include <stdio.h> |
| 10590 | #include <time.h> |
| 10591 | #include <wchar.h> |
| 10592 | int zero (void) { return 0; } |
| 10593 | |
| 10594 | _ACEOF |
| 10595 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
| 10596 | (eval $ac_compile) 2>&5 |
| 10597 | ac_status=$? |
| 10598 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 10599 | testscip-shell system . . test. $ac_status = 0; }; then |
| 10600 | mvscip-shell system . . mv. conftest.$ac_objext conftest2.$ac_objext |
| 10601 | if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then |
| 10602 | : |
| 10603 | else |
| 10604 | gl_cv_header_wchar_h_correct_inline=no |
| 10605 | fi |
| 10606 | fi |
| 10607 | fi |
| 10608 | rmscip-shell system . . rm. -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext |
| 10609 | |
| 10610 | fi |
| 10611 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 |
| 10612 | printfscip-shell system . . printf. "%s\n" "$gl_cv_header_wchar_h_correct_inline" >&6; } |
| 10613 | if testscip-shell system . . test. $gl_cv_header_wchar_h_correct_inline = no; then |
| 10614 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). |
| 10615 | This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in |
| 10616 | C99 mode. You have four options: |
| 10617 | - Add the flag -fgnu89-inline to CC and reconfigure, or |
| 10618 | - Fix your include files, using parts of |
| 10619 | <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or |
| 10620 | - Use a gcc version older than 4.3, or |
| 10621 | - Don't use the flags -std=c99 or -std=gnu99. |
| 10622 | Configuration aborted." "$LINENO" 5 |
| 10623 | fi |
| 10624 | |
| 10625 | |
| 10626 | |
| 10627 | |
| 10628 | |
| 10629 | if testscip-shell system . . test. $ac_cv_header_features_h = yes; then |
| 10630 | HAVE_FEATURES_H=1 |
| 10631 | else |
| 10632 | HAVE_FEATURES_H=0 |
| 10633 | fi |
| 10634 | |
| 10635 | |
| 10636 | |
| 10637 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 |
| 10638 | printfscip-shell system . . printf. %s "checking for wint_t... " >&6; } |
| 10639 | if ${gt_cv_c_wint_t+:} false; then : |
| 10640 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10641 | else |
| 10642 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10643 | /* end confdefs.h. */ |
| 10644 | |
| 10645 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 10646 | <wchar.h>. |
| 10647 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included |
| 10648 | before <wchar.h>. */ |
| 10649 | #include <stddef.h> |
| 10650 | #include <stdio.h> |
| 10651 | #include <time.h> |
| 10652 | #include <wchar.h> |
| 10653 | wint_t foo = (wchar_t)'\0'; |
| 10654 | int |
| 10655 | main () |
| 10656 | { |
| 10657 | |
| 10658 | ; |
| 10659 | return 0; |
| 10660 | } |
| 10661 | _ACEOF |
| 10662 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 10663 | gt_cv_c_wint_t=yes |
| 10664 | else |
| 10665 | gt_cv_c_wint_t=no |
| 10666 | fi |
| 10667 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10668 | fi |
| 10669 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 |
| 10670 | printfscip-shell system . . printf. "%s\n" "$gt_cv_c_wint_t" >&6; } |
| 10671 | if testscip-shell system . . test. $gt_cv_c_wint_t = yes; then |
| 10672 | |
| 10673 | printfscip-shell system . . printf. "%s\n" "#define HAVE_WINT_T 1" >>confdefs.h |
| 10674 | |
| 10675 | fi |
| 10676 | |
| 10677 | |
| 10678 | GNULIB_ISWBLANK=0; |
| 10679 | GNULIB_WCTYPE=0; |
| 10680 | GNULIB_ISWCTYPE=0; |
| 10681 | GNULIB_WCTRANS=0; |
| 10682 | GNULIB_TOWCTRANS=0; |
| 10683 | HAVE_ISWBLANK=1; |
| 10684 | HAVE_WCTYPE_T=1; |
| 10685 | HAVE_WCTRANS_T=1; |
| 10686 | REPLACE_ISWBLANK=0; |
| 10687 | |
| 10688 | |
| 10689 | |
| 10690 | |
| 10691 | |
| 10692 | |
| 10693 | if falsescip-shell system . . false.; then |
| 10694 | GL_COND_LIBTOOL_TRUE= |
| 10695 | GL_COND_LIBTOOL_FALSE='#' |
| 10696 | else |
| 10697 | GL_COND_LIBTOOL_TRUE='#' |
| 10698 | GL_COND_LIBTOOL_FALSE= |
| 10699 | fi |
| 10700 | |
| 10701 | gl_cond_libtool=false |
| 10702 | gl_libdeps= |
| 10703 | gl_ltlibdeps= |
| 10704 | gl_m4_base='m4' |
| 10705 | |
| 10706 | |
| 10707 | |
| 10708 | |
| 10709 | |
| 10710 | |
| 10711 | |
| 10712 | |
| 10713 | |
| 10714 | gl_source_base='lib' |
| 10715 | |
| 10716 | |
| 10717 | |
| 10718 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible calloc" >&5 |
| 10719 | printfscip-shell system . . printf. %s "checking for GNU libc compatible calloc... " >&6; } |
| 10720 | if ${ac_cv_func_calloc_0_nonnull+:} false; then : |
| 10721 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10722 | else |
| 10723 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 10724 | case "$host_os" in |
| 10725 | # Guess yes on glibc systems. |
| 10726 | *-gnu*) ac_cv_func_calloc_0_nonnull="guessing yes" ;; |
| 10727 | # If we don't know, assume the worst. |
| 10728 | *) ac_cv_func_calloc_0_nonnull="guessing no" ;; |
| 10729 | esac |
| 10730 | |
| 10731 | else |
| 10732 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10733 | /* end confdefs.h. */ |
| 10734 | $ac_includes_default |
| 10735 | int |
| 10736 | main () |
| 10737 | { |
| 10738 | int result = 0; |
| 10739 | if (!calloc (0, 0)) |
| 10740 | result |= 1; |
| 10741 | if (calloc ((size_t) -1 / 8 + 1, 8)) |
| 10742 | result |= 2; |
| 10743 | return result; |
| 10744 | |
| 10745 | ; |
| 10746 | return 0; |
| 10747 | } |
| 10748 | _ACEOF |
| 10749 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 10750 | ac_cv_func_calloc_0_nonnull=yes |
| 10751 | else |
| 10752 | ac_cv_func_calloc_0_nonnull=no |
| 10753 | fi |
| 10754 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 10755 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 10756 | fi |
| 10757 | |
| 10758 | fi |
| 10759 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_calloc_0_nonnull" >&5 |
| 10760 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_calloc_0_nonnull" >&6; } |
| 10761 | case "$ac_cv_func_calloc_0_nonnull" in |
| 10762 | *yes) |
| 10763 | |
| 10764 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CALLOC_GNU 1" >>confdefs.h |
| 10765 | |
| 10766 | ;; |
| 10767 | *) |
| 10768 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CALLOC_GNU 0" >>confdefs.h |
| 10769 | |
| 10770 | REPLACE_CALLOC=1 |
| 10771 | |
| 10772 | ;; |
| 10773 | esac |
| 10774 | |
| 10775 | |
| 10776 | if testscip-shell system . . test. $REPLACE_CALLOC = 1; then |
| 10777 | |
| 10778 | |
| 10779 | |
| 10780 | |
| 10781 | |
| 10782 | |
| 10783 | |
| 10784 | |
| 10785 | gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext" |
| 10786 | |
| 10787 | fi |
| 10788 | |
| 10789 | |
| 10790 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10791 | #define GNULIB_CALLOC_GNU 1 |
| 10792 | _ACEOF |
| 10793 | |
| 10794 | |
| 10795 | |
| 10796 | |
| 10797 | |
| 10798 | if testscip-shell system . . test. $gl_cv_func_malloc_posix = yes; then |
| 10799 | |
| 10800 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CALLOC_POSIX 1" >>confdefs.h |
| 10801 | |
| 10802 | else |
| 10803 | REPLACE_CALLOC=1 |
| 10804 | fi |
| 10805 | |
| 10806 | if testscip-shell system . . test. $REPLACE_CALLOC = 1; then |
| 10807 | |
| 10808 | |
| 10809 | |
| 10810 | |
| 10811 | |
| 10812 | |
| 10813 | |
| 10814 | |
| 10815 | gl_LIBOBJS="$gl_LIBOBJS calloc.$ac_objext" |
| 10816 | |
| 10817 | fi |
| 10818 | |
| 10819 | |
| 10820 | |
| 10821 | |
| 10822 | |
| 10823 | GNULIB_CALLOC_POSIX=1 |
| 10824 | |
| 10825 | |
| 10826 | |
| 10827 | |
| 10828 | |
| 10829 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_CALLOC_POSIX 1" >>confdefs.h |
| 10830 | |
| 10831 | |
| 10832 | |
| 10833 | |
| 10834 | : |
| 10835 | |
| 10836 | |
| 10837 | |
| 10838 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10839 | #define GNULIB_CLOSE_STREAM 1 |
| 10840 | _ACEOF |
| 10841 | |
| 10842 | |
| 10843 | |
| 10844 | : |
| 10845 | |
| 10846 | |
| 10847 | |
| 10848 | if testscip-shell system . . test. "x$datarootdir" = x; then |
| 10849 | datarootdir='${datadir}' |
| 10850 | |
| 10851 | fi |
| 10852 | if testscip-shell system . . test. "x$docdir" = x; then |
| 10853 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 10854 | |
| 10855 | fi |
| 10856 | if testscip-shell system . . test. "x$htmldir" = x; then |
| 10857 | htmldir='${docdir}' |
| 10858 | |
| 10859 | fi |
| 10860 | if testscip-shell system . . test. "x$dvidir" = x; then |
| 10861 | dvidir='${docdir}' |
| 10862 | |
| 10863 | fi |
| 10864 | if testscip-shell system . . test. "x$pdfdir" = x; then |
| 10865 | pdfdir='${docdir}' |
| 10866 | |
| 10867 | fi |
| 10868 | if testscip-shell system . . test. "x$psdir" = x; then |
| 10869 | psdir='${docdir}' |
| 10870 | |
| 10871 | fi |
| 10872 | if testscip-shell system . . test. "x$lispdir" = x; then |
| 10873 | lispdir='${datarootdir}/emacs/site-lisp' |
| 10874 | |
| 10875 | fi |
| 10876 | if testscip-shell system . . test. "x$localedir" = x; then |
| 10877 | localedir='${datarootdir}/locale' |
| 10878 | |
| 10879 | fi |
| 10880 | |
| 10881 | pkglibexecdir='${libexecdir}/${PACKAGE}' |
| 10882 | |
| 10883 | |
| 10884 | |
| 10885 | |
| 10886 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 |
| 10887 | printfscip-shell system . . printf. %s "checking for error_at_line... " >&6; } |
| 10888 | if ${ac_cv_lib_error_at_line+:} false; then : |
| 10889 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10890 | else |
| 10891 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10892 | /* end confdefs.h. */ |
| 10893 | #include <error.h> |
| 10894 | int |
| 10895 | main () |
| 10896 | { |
| 10897 | error_at_line (0, 0, "", 0, "an error occurred"); |
| 10898 | ; |
| 10899 | return 0; |
| 10900 | } |
| 10901 | _ACEOF |
| 10902 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 10903 | ac_cv_lib_error_at_line=yes |
| 10904 | else |
| 10905 | ac_cv_lib_error_at_line=no |
| 10906 | fi |
| 10907 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 10908 | conftest$ac_exeext conftest.$ac_ext |
| 10909 | fi |
| 10910 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 |
| 10911 | printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_error_at_line" >&6; } |
| 10912 | |
| 10913 | if testscip-shell system . . test. $ac_cv_lib_error_at_line = no; then |
| 10914 | |
| 10915 | |
| 10916 | |
| 10917 | |
| 10918 | |
| 10919 | |
| 10920 | |
| 10921 | |
| 10922 | gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" |
| 10923 | |
| 10924 | |
| 10925 | |
| 10926 | : |
| 10927 | |
| 10928 | fi |
| 10929 | |
| 10930 | |
| 10931 | XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" |
| 10932 | |
| 10933 | |
| 10934 | |
| 10935 | XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" |
| 10936 | |
| 10937 | |
| 10938 | |
| 10939 | |
| 10940 | |
| 10941 | fp_headers=' |
| 10942 | # include <stdio.h> |
| 10943 | # if HAVE_STDIO_EXT_H |
| 10944 | # include <stdio_ext.h> |
| 10945 | # endif |
| 10946 | ' |
| 10947 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "__fpending" "ac_cv_have_decl___fpending" "$fp_headers |
| 10948 | " |
| 10949 | if testscip-shell system . . test. "x$ac_cv_have_decl___fpending" = xyes; then : |
| 10950 | ac_have_decl=1 |
| 10951 | else |
| 10952 | ac_have_decl=0 |
| 10953 | fi |
| 10954 | |
| 10955 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 10956 | #define HAVE_DECL___FPENDING $ac_have_decl |
| 10957 | _ACEOF |
| 10958 | |
| 10959 | |
| 10960 | if testscip-shell system . . test. $ac_cv_func___fpending = no; then |
| 10961 | |
| 10962 | |
| 10963 | |
| 10964 | |
| 10965 | |
| 10966 | |
| 10967 | |
| 10968 | |
| 10969 | gl_LIBOBJS="$gl_LIBOBJS fpending.$ac_objext" |
| 10970 | |
| 10971 | |
| 10972 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to determine the number of pending output bytes on a stream" >&5 |
| 10973 | printfscip-shell system . . printf. %s "checking how to determine the number of pending output bytes on a stream... " >&6; } |
| 10974 | if ${ac_cv_sys_pending_output_n_bytes+:} false; then : |
| 10975 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 10976 | else |
| 10977 | |
| 10978 | for ac_expr in \ |
| 10979 | \ |
| 10980 | '# glibc2' \ |
| 10981 | 'fp->_IO_write_ptr - fp->_IO_write_base' \ |
| 10982 | \ |
| 10983 | '# traditional Unix' \ |
| 10984 | 'fp->_ptr - fp->_base' \ |
| 10985 | \ |
| 10986 | '# BSD' \ |
| 10987 | 'fp->_p - fp->_bf._base' \ |
| 10988 | \ |
| 10989 | '# SCO, Unixware' \ |
| 10990 | '(fp->__ptr ? fp->__ptr - fp->__base : 0)' \ |
| 10991 | \ |
| 10992 | '# QNX' \ |
| 10993 | '(fp->_Mode & 0x2000 /*_MWRITE*/ ? fp->_Next - fp->_Buf : 0)' \ |
| 10994 | \ |
| 10995 | '# old glibc?' \ |
| 10996 | 'fp->__bufp - fp->__buffer' \ |
| 10997 | \ |
| 10998 | '# old glibc iostream?' \ |
| 10999 | 'fp->_pptr - fp->_pbase' \ |
| 11000 | \ |
| 11001 | '# emx+gcc' \ |
| 11002 | 'fp->_ptr - fp->_buffer' \ |
| 11003 | \ |
| 11004 | '# Minix' \ |
| 11005 | 'fp->_ptr - fp->_buf' \ |
| 11006 | \ |
| 11007 | '# Plan9' \ |
| 11008 | 'fp->wp - fp->buf' \ |
| 11009 | \ |
| 11010 | '# VMS' \ |
| 11011 | '(*fp)->_ptr - (*fp)->_base' \ |
| 11012 | \ |
| 11013 | '# e.g., DGUX R4.11; the info is not available' \ |
| 11014 | 1 \ |
| 11015 | ; do |
| 11016 | |
| 11017 | # Skip each embedded comment. |
| 11018 | case "$ac_expr" in '#'*) continue;; esac |
| 11019 | |
| 11020 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11021 | /* end confdefs.h. */ |
| 11022 | #include <stdio.h> |
| 11023 | int |
| 11024 | main () |
| 11025 | { |
| 11026 | FILE *fp = stdin; (void) ($ac_expr); |
| 11027 | ; |
| 11028 | return 0; |
| 11029 | } |
| 11030 | _ACEOF |
| 11031 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 11032 | fp_done=yes |
| 11033 | |
| 11034 | fi |
| 11035 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11036 | testscip-shell system . . test. "$fp_done" = yes && break |
| 11037 | done |
| 11038 | |
| 11039 | ac_cv_sys_pending_output_n_bytes=$ac_expr |
| 11040 | |
| 11041 | |
| 11042 | fi |
| 11043 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_pending_output_n_bytes" >&5 |
| 11044 | printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_pending_output_n_bytes" >&6; } |
| 11045 | |
| 11046 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 11047 | #define PENDING_OUTPUT_N_BYTES $ac_cv_sys_pending_output_n_bytes |
| 11048 | _ACEOF |
| 11049 | |
| 11050 | |
| 11051 | fi |
| 11052 | |
| 11053 | |
| 11054 | |
| 11055 | |
| 11056 | |
| 11057 | if testscip-shell system . . test. $REPLACE_GETOPT = 1; then |
| 11058 | |
| 11059 | |
| 11060 | |
| 11061 | |
| 11062 | |
| 11063 | |
| 11064 | |
| 11065 | |
| 11066 | gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" |
| 11067 | |
| 11068 | |
| 11069 | |
| 11070 | |
| 11071 | |
| 11072 | |
| 11073 | |
| 11074 | |
| 11075 | |
| 11076 | gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" |
| 11077 | |
| 11078 | |
| 11079 | |
| 11080 | |
| 11081 | GNULIB_GL_UNISTD_H_GETOPT=1 |
| 11082 | fi |
| 11083 | |
| 11084 | |
| 11085 | |
| 11086 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_GETOPT_GNU 1" >>confdefs.h |
| 11087 | |
| 11088 | |
| 11089 | |
| 11090 | |
| 11091 | |
| 11092 | |
| 11093 | |
| 11094 | REPLACE_GETOPT=0 |
| 11095 | if testscip-shell system . . test. -n "$gl_replace_getopt"; then |
| 11096 | REPLACE_GETOPT=1 |
| 11097 | fi |
| 11098 | |
| 11099 | if testscip-shell system . . test. $REPLACE_GETOPT = 1; then |
| 11100 | |
| 11101 | GETOPT_H=getopt.h |
| 11102 | |
| 11103 | printfscip-shell system . . printf. "%s\n" "#define __GETOPT_PREFIX rpl_" >>confdefs.h |
| 11104 | |
| 11105 | |
| 11106 | |
| 11107 | fi |
| 11108 | |
| 11109 | if testscip-shell system . . test. $REPLACE_GETOPT = 1; then |
| 11110 | |
| 11111 | |
| 11112 | |
| 11113 | |
| 11114 | |
| 11115 | |
| 11116 | |
| 11117 | |
| 11118 | gl_LIBOBJS="$gl_LIBOBJS getopt.$ac_objext" |
| 11119 | |
| 11120 | |
| 11121 | |
| 11122 | |
| 11123 | |
| 11124 | |
| 11125 | |
| 11126 | |
| 11127 | |
| 11128 | gl_LIBOBJS="$gl_LIBOBJS getopt1.$ac_objext" |
| 11129 | |
| 11130 | |
| 11131 | |
| 11132 | |
| 11133 | GNULIB_GL_UNISTD_H_GETOPT=1 |
| 11134 | fi |
| 11135 | |
| 11136 | |
| 11137 | |
| 11138 | # Autoconf 2.61a.99 and earlier don't support linking a file only |
| 11139 | # in VPATH builds. But since GNUmakefile is for maintainer use |
| 11140 | # only, it does not matter if we skip the link with older autoconf. |
| 11141 | # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH |
| 11142 | # builds, so use a shell variable to bypass this. |
| 11143 | GNUmakefile=GNUmakefile |
| 11144 | ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" |
| 11145 | |
| 11146 | |
| 11147 | |
| 11148 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler flag to ignore unused libraries" >&5 |
| 11149 | printfscip-shell system . . printf. %s "checking for C compiler flag to ignore unused libraries... " >&6; } |
| 11150 | if ${gl_cv_prog_c_ignore_unused_libraries+:} false; then : |
| 11151 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11152 | else |
| 11153 | gl_cv_prog_c_ignore_unused_libraries=none |
| 11154 | gl_saved_ldflags=$LDFLAGS |
| 11155 | gl_saved_libs=$LIBS |
| 11156 | # Link with -lm to detect binutils 2.16 bug with --as-needed; see |
| 11157 | # <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00131.html>. |
| 11158 | LIBS="$LIBS -lm" |
| 11159 | # Use long option sequences like '-z ignore' to test for the feature, |
| 11160 | # to forestall problems with linkers that have -z, -i, -g, -n, etc. flags. |
| 11161 | # GCC + binutils likes '-Wl,--as-needed'. |
| 11162 | # GCC + Solaris ld likes '-Wl,-z,ignore'. |
| 11163 | # Sun C likes '-Wl,-z,ignore'. '-z ignore' is accepted but has no effect. |
| 11164 | # Don't try bare '--as-needed'; nothing likes it and the HP-UX 11.11 |
| 11165 | # native cc issues annoying warnings and then ignores it, |
| 11166 | # which would cause us to incorrectly conclude that it worked. |
| 11167 | for gl_flags in '-Wl,--as-needed' \ |
| 11168 | '-Wl,-z,ignore' \ |
| 11169 | '-z ignore' |
| 11170 | |
| 11171 | do |
| 11172 | LDFLAGS="$gl_flags $LDFLAGS" |
| 11173 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11174 | /* end confdefs.h. */ |
| 11175 | |
| 11176 | int |
| 11177 | main () |
| 11178 | { |
| 11179 | |
| 11180 | ; |
| 11181 | return 0; |
| 11182 | } |
| 11183 | _ACEOF |
| 11184 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 11185 | gl_cv_prog_c_ignore_unused_libraries=$gl_flags |
| 11186 | fi |
| 11187 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 11188 | conftest$ac_exeext conftest.$ac_ext |
| 11189 | LDFLAGS=$gl_saved_ldflags |
| 11190 | testscip-shell system . . test. "$gl_cv_prog_c_ignore_unused_libraries" != none && |
| 11191 | break |
| 11192 | done |
| 11193 | LIBS=$gl_saved_libs |
| 11194 | |
| 11195 | fi |
| 11196 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_c_ignore_unused_libraries" >&5 |
| 11197 | printfscip-shell system . . printf. "%s\n" "$gl_cv_prog_c_ignore_unused_libraries" >&6; } |
| 11198 | IGNORE_UNUSED_LIBRARIES_CFLAGS= |
| 11199 | if testscip-shell system . . test. "$gl_cv_prog_c_ignore_unused_libraries" != none; then |
| 11200 | IGNORE_UNUSED_LIBRARIES_CFLAGS="$gl_cv_prog_c_ignore_unused_libraries" |
| 11201 | fi |
| 11202 | |
| 11203 | |
| 11204 | |
| 11205 | |
| 11206 | |
| 11207 | |
| 11208 | |
| 11209 | |
| 11210 | |
| 11211 | |
| 11212 | LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" |
| 11213 | |
| 11214 | |
| 11215 | |
| 11216 | |
| 11217 | |
| 11218 | for ac_header in stdlib.h |
| 11219 | do : |
| 11220 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 11221 | if testscip-shell system . . test. "x$ac_cv_header_stdlib_h" = xyes; then : |
| 11222 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 11223 | #define HAVE_STDLIB_H 1 |
| 11224 | _ACEOF |
| 11225 | |
| 11226 | fi |
| 11227 | |
| 11228 | done |
| 11229 | |
| 11230 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
| 11231 | printfscip-shell system . . printf. %s "checking for GNU libc compatible malloc... " >&6; } |
| 11232 | if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
| 11233 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11234 | else |
| 11235 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11236 | case "$host_os" in |
| 11237 | # Guess yes on platforms where we know the result. |
| 11238 | *-gnu* | freebsd* | netbsd* | openbsd* \ |
| 11239 | | hpux* | solaris* | cygwin* | mingw*) |
| 11240 | ac_cv_func_malloc_0_nonnull=yes ;; |
| 11241 | # If we don't know, assume the worst. |
| 11242 | *) ac_cv_func_malloc_0_nonnull=no ;; |
| 11243 | esac |
| 11244 | |
| 11245 | else |
| 11246 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11247 | /* end confdefs.h. */ |
| 11248 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
| 11249 | # include <stdlib.h> |
| 11250 | #else |
| 11251 | char *malloc (); |
| 11252 | #endif |
| 11253 | |
| 11254 | int |
| 11255 | main () |
| 11256 | { |
| 11257 | return ! malloc (0); |
| 11258 | ; |
| 11259 | return 0; |
| 11260 | } |
| 11261 | |
| 11262 | _ACEOF |
| 11263 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11264 | ac_cv_func_malloc_0_nonnull=yes |
| 11265 | else |
| 11266 | ac_cv_func_malloc_0_nonnull=no |
| 11267 | fi |
| 11268 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11269 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11270 | fi |
| 11271 | |
| 11272 | |
| 11273 | fi |
| 11274 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 |
| 11275 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; } |
| 11276 | if testscip-shell system . . test. $ac_cv_func_malloc_0_nonnull = yes; then : |
| 11277 | |
| 11278 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_GNU 1" >>confdefs.h |
| 11279 | |
| 11280 | else |
| 11281 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_GNU 0" >>confdefs.h |
| 11282 | |
| 11283 | REPLACE_MALLOC=1 |
| 11284 | |
| 11285 | fi |
| 11286 | |
| 11287 | |
| 11288 | if testscip-shell system . . test. $REPLACE_MALLOC = 1; then |
| 11289 | |
| 11290 | |
| 11291 | |
| 11292 | |
| 11293 | |
| 11294 | |
| 11295 | |
| 11296 | |
| 11297 | gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" |
| 11298 | |
| 11299 | fi |
| 11300 | |
| 11301 | |
| 11302 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 11303 | #define GNULIB_MALLOC_GNU 1 |
| 11304 | _ACEOF |
| 11305 | |
| 11306 | |
| 11307 | |
| 11308 | |
| 11309 | |
| 11310 | if testscip-shell system . . test. $gl_cv_func_malloc_posix = yes; then |
| 11311 | |
| 11312 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_POSIX 1" >>confdefs.h |
| 11313 | |
| 11314 | else |
| 11315 | REPLACE_MALLOC=1 |
| 11316 | fi |
| 11317 | |
| 11318 | if testscip-shell system . . test. $REPLACE_MALLOC = 1; then |
| 11319 | |
| 11320 | |
| 11321 | |
| 11322 | |
| 11323 | |
| 11324 | |
| 11325 | |
| 11326 | |
| 11327 | gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext" |
| 11328 | |
| 11329 | fi |
| 11330 | |
| 11331 | |
| 11332 | |
| 11333 | |
| 11334 | |
| 11335 | GNULIB_MALLOC_POSIX=1 |
| 11336 | |
| 11337 | |
| 11338 | |
| 11339 | |
| 11340 | |
| 11341 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h |
| 11342 | |
| 11343 | |
| 11344 | |
| 11345 | |
| 11346 | |
| 11347 | |
| 11348 | |
| 11349 | |
| 11350 | |
| 11351 | |
| 11352 | |
| 11353 | |
| 11354 | |
| 11355 | if testscip-shell system . . test. $ac_cv_func_mbsinit = yes && testscip-shell system . . test. $ac_cv_func_mbrtowc = yes; then |
| 11356 | |
| 11357 | |
| 11358 | |
| 11359 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 |
| 11360 | printfscip-shell system . . printf. %s "checking whether mbrtowc handles incomplete characters... " >&6; } |
| 11361 | if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : |
| 11362 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11363 | else |
| 11364 | |
| 11365 | case "$host_os" in |
| 11366 | # Guess no on AIX and OSF/1. |
| 11367 | aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; |
| 11368 | # Guess yes otherwise. |
| 11369 | *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; |
| 11370 | esac |
| 11371 | if testscip-shell system . . test. $LOCALE_JA != none; then |
| 11372 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11373 | : |
| 11374 | else |
| 11375 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11376 | /* end confdefs.h. */ |
| 11377 | |
| 11378 | #include <locale.h> |
| 11379 | #include <string.h> |
| 11380 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11381 | <wchar.h>. |
| 11382 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11383 | included before <wchar.h>. */ |
| 11384 | #include <stddef.h> |
| 11385 | #include <stdio.h> |
| 11386 | #include <time.h> |
| 11387 | #include <wchar.h> |
| 11388 | int main () |
| 11389 | { |
| 11390 | if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) |
| 11391 | { |
| 11392 | const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ |
| 11393 | mbstate_t state; |
| 11394 | wchar_t wc; |
| 11395 | |
| 11396 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11397 | if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) |
| 11398 | if (mbsinit (&state)) |
| 11399 | return 1; |
| 11400 | } |
| 11401 | return 0; |
| 11402 | } |
| 11403 | _ACEOF |
| 11404 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11405 | gl_cv_func_mbrtowc_incomplete_state=yes |
| 11406 | else |
| 11407 | gl_cv_func_mbrtowc_incomplete_state=no |
| 11408 | fi |
| 11409 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11410 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11411 | fi |
| 11412 | |
| 11413 | fi |
| 11414 | |
| 11415 | fi |
| 11416 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 |
| 11417 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } |
| 11418 | |
| 11419 | |
| 11420 | |
| 11421 | |
| 11422 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 |
| 11423 | printfscip-shell system . . printf. %s "checking whether mbrtowc works as well as mbtowc... " >&6; } |
| 11424 | if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : |
| 11425 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11426 | else |
| 11427 | |
| 11428 | case "$host_os" in |
| 11429 | # Guess no on Solaris 8. |
| 11430 | solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; |
| 11431 | # Guess yes otherwise. |
| 11432 | *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; |
| 11433 | esac |
| 11434 | if testscip-shell system . . test. $LOCALE_ZH_CN != none; then |
| 11435 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11436 | : |
| 11437 | else |
| 11438 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11439 | /* end confdefs.h. */ |
| 11440 | |
| 11441 | #include <locale.h> |
| 11442 | #include <stdlib.h> |
| 11443 | #include <string.h> |
| 11444 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11445 | <wchar.h>. |
| 11446 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11447 | included before <wchar.h>. */ |
| 11448 | #include <stddef.h> |
| 11449 | #include <stdio.h> |
| 11450 | #include <time.h> |
| 11451 | #include <wchar.h> |
| 11452 | int main () |
| 11453 | { |
| 11454 | /* This fails on Solaris 8: |
| 11455 | mbrtowc returns 2, and sets wc to 0x00F0. |
| 11456 | mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ |
| 11457 | if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) |
| 11458 | { |
| 11459 | char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ |
| 11460 | mbstate_t state; |
| 11461 | wchar_t wc; |
| 11462 | |
| 11463 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11464 | if (mbrtowc (&wc, input + 3, 6, &state) != 4 |
| 11465 | && mbtowc (&wc, input + 3, 6) == 4) |
| 11466 | return 1; |
| 11467 | } |
| 11468 | return 0; |
| 11469 | } |
| 11470 | _ACEOF |
| 11471 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11472 | gl_cv_func_mbrtowc_sanitycheck=yes |
| 11473 | else |
| 11474 | gl_cv_func_mbrtowc_sanitycheck=no |
| 11475 | fi |
| 11476 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11477 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11478 | fi |
| 11479 | |
| 11480 | fi |
| 11481 | |
| 11482 | fi |
| 11483 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 |
| 11484 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } |
| 11485 | |
| 11486 | REPLACE_MBSTATE_T=0 |
| 11487 | case "$gl_cv_func_mbrtowc_incomplete_state" in |
| 11488 | *yes) ;; |
| 11489 | *) REPLACE_MBSTATE_T=1 ;; |
| 11490 | esac |
| 11491 | case "$gl_cv_func_mbrtowc_sanitycheck" in |
| 11492 | *yes) ;; |
| 11493 | *) REPLACE_MBSTATE_T=1 ;; |
| 11494 | esac |
| 11495 | else |
| 11496 | REPLACE_MBSTATE_T=1 |
| 11497 | fi |
| 11498 | |
| 11499 | |
| 11500 | |
| 11501 | if testscip-shell system . . test. $ac_cv_func_mbrtowc = no; then |
| 11502 | HAVE_MBRTOWC=0 |
| 11503 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "mbrtowc" "ac_cv_have_decl_mbrtowc" " |
| 11504 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11505 | <wchar.h>. |
| 11506 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11507 | included before <wchar.h>. */ |
| 11508 | #include <stddef.h> |
| 11509 | #include <stdio.h> |
| 11510 | #include <time.h> |
| 11511 | #include <wchar.h> |
| 11512 | |
| 11513 | " |
| 11514 | if testscip-shell system . . test. "x$ac_cv_have_decl_mbrtowc" = xyes; then : |
| 11515 | ac_have_decl=1 |
| 11516 | else |
| 11517 | ac_have_decl=0 |
| 11518 | fi |
| 11519 | |
| 11520 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 11521 | #define HAVE_DECL_MBRTOWC $ac_have_decl |
| 11522 | _ACEOF |
| 11523 | |
| 11524 | if testscip-shell system . . test. $ac_cv_have_decl_mbrtowc = yes; then |
| 11525 | REPLACE_MBRTOWC=1 |
| 11526 | fi |
| 11527 | else |
| 11528 | if testscip-shell system . . test. $REPLACE_MBSTATE_T = 1; then |
| 11529 | REPLACE_MBRTOWC=1 |
| 11530 | else |
| 11531 | |
| 11532 | |
| 11533 | |
| 11534 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL pwc argument" >&5 |
| 11535 | printfscip-shell system . . printf. %s "checking whether mbrtowc handles a NULL pwc argument... " >&6; } |
| 11536 | if ${gl_cv_func_mbrtowc_null_arg1+:} false; then : |
| 11537 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11538 | else |
| 11539 | |
| 11540 | case "$host_os" in |
| 11541 | # Guess no on Solaris. |
| 11542 | solaris*) gl_cv_func_mbrtowc_null_arg1="guessing no" ;; |
| 11543 | # Guess yes otherwise. |
| 11544 | *) gl_cv_func_mbrtowc_null_arg1="guessing yes" ;; |
| 11545 | esac |
| 11546 | if testscip-shell system . . test. $LOCALE_FR_UTF8 != none; then |
| 11547 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11548 | : |
| 11549 | else |
| 11550 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11551 | /* end confdefs.h. */ |
| 11552 | |
| 11553 | #include <locale.h> |
| 11554 | #include <stdlib.h> |
| 11555 | #include <string.h> |
| 11556 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11557 | <wchar.h>. |
| 11558 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11559 | included before <wchar.h>. */ |
| 11560 | #include <stddef.h> |
| 11561 | #include <stdio.h> |
| 11562 | #include <time.h> |
| 11563 | #include <wchar.h> |
| 11564 | int main () |
| 11565 | { |
| 11566 | int result = 0; |
| 11567 | |
| 11568 | if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) |
| 11569 | { |
| 11570 | char input[] = "\303\237er"; |
| 11571 | mbstate_t state; |
| 11572 | wchar_t wc; |
| 11573 | size_t ret; |
| 11574 | |
| 11575 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11576 | wc = (wchar_t) 0xBADFACE; |
| 11577 | ret = mbrtowc (&wc, input, 5, &state); |
| 11578 | if (ret != 2) |
| 11579 | result |= 1; |
| 11580 | if (!mbsinit (&state)) |
| 11581 | result |= 2; |
| 11582 | |
| 11583 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11584 | ret = mbrtowc (NULL, input, 5, &state); |
| 11585 | if (ret != 2) /* Solaris 7 fails here: ret is -1. */ |
| 11586 | result |= 4; |
| 11587 | if (!mbsinit (&state)) |
| 11588 | result |= 8; |
| 11589 | } |
| 11590 | return result; |
| 11591 | } |
| 11592 | _ACEOF |
| 11593 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11594 | gl_cv_func_mbrtowc_null_arg1=yes |
| 11595 | else |
| 11596 | gl_cv_func_mbrtowc_null_arg1=no |
| 11597 | fi |
| 11598 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11599 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11600 | fi |
| 11601 | |
| 11602 | fi |
| 11603 | |
| 11604 | fi |
| 11605 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg1" >&5 |
| 11606 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_null_arg1" >&6; } |
| 11607 | |
| 11608 | |
| 11609 | |
| 11610 | |
| 11611 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles a NULL string argument" >&5 |
| 11612 | printfscip-shell system . . printf. %s "checking whether mbrtowc handles a NULL string argument... " >&6; } |
| 11613 | if ${gl_cv_func_mbrtowc_null_arg2+:} false; then : |
| 11614 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11615 | else |
| 11616 | |
| 11617 | case "$host_os" in |
| 11618 | # Guess no on OSF/1. |
| 11619 | osf*) gl_cv_func_mbrtowc_null_arg2="guessing no" ;; |
| 11620 | # Guess yes otherwise. |
| 11621 | *) gl_cv_func_mbrtowc_null_arg2="guessing yes" ;; |
| 11622 | esac |
| 11623 | if testscip-shell system . . test. $LOCALE_FR_UTF8 != none; then |
| 11624 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11625 | : |
| 11626 | else |
| 11627 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11628 | /* end confdefs.h. */ |
| 11629 | |
| 11630 | #include <locale.h> |
| 11631 | #include <string.h> |
| 11632 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11633 | <wchar.h>. |
| 11634 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11635 | included before <wchar.h>. */ |
| 11636 | #include <stddef.h> |
| 11637 | #include <stdio.h> |
| 11638 | #include <time.h> |
| 11639 | #include <wchar.h> |
| 11640 | int main () |
| 11641 | { |
| 11642 | if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) |
| 11643 | { |
| 11644 | mbstate_t state; |
| 11645 | wchar_t wc; |
| 11646 | int ret; |
| 11647 | |
| 11648 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11649 | wc = (wchar_t) 0xBADFACE; |
| 11650 | mbrtowc (&wc, NULL, 5, &state); |
| 11651 | /* Check that wc was not modified. */ |
| 11652 | if (wc != (wchar_t) 0xBADFACE) |
| 11653 | return 1; |
| 11654 | } |
| 11655 | return 0; |
| 11656 | } |
| 11657 | _ACEOF |
| 11658 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11659 | gl_cv_func_mbrtowc_null_arg2=yes |
| 11660 | else |
| 11661 | gl_cv_func_mbrtowc_null_arg2=no |
| 11662 | fi |
| 11663 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11664 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11665 | fi |
| 11666 | |
| 11667 | fi |
| 11668 | |
| 11669 | fi |
| 11670 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_null_arg2" >&5 |
| 11671 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_null_arg2" >&6; } |
| 11672 | |
| 11673 | |
| 11674 | |
| 11675 | |
| 11676 | |
| 11677 | |
| 11678 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc has a correct return value" >&5 |
| 11679 | printfscip-shell system . . printf. %s "checking whether mbrtowc has a correct return value... " >&6; } |
| 11680 | if ${gl_cv_func_mbrtowc_retval+:} false; then : |
| 11681 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11682 | else |
| 11683 | |
| 11684 | case "$host_os" in |
| 11685 | # Guess no on HP-UX, Solaris, native Windows. |
| 11686 | hpux* | solaris* | mingw*) gl_cv_func_mbrtowc_retval="guessing no" ;; |
| 11687 | # Guess yes otherwise. |
| 11688 | *) gl_cv_func_mbrtowc_retval="guessing yes" ;; |
| 11689 | esac |
| 11690 | if testscip-shell system . . test. $LOCALE_FR_UTF8 != none || testscip-shell system . . test. $LOCALE_JA != none \ |
| 11691 | || { case "$host_os" in mingw*) truescip-shell system . . true.;; *) falsescip-shell system . . false.;; esac; }; then |
| 11692 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11693 | : |
| 11694 | else |
| 11695 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11696 | /* end confdefs.h. */ |
| 11697 | |
| 11698 | #include <locale.h> |
| 11699 | #include <string.h> |
| 11700 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11701 | <wchar.h>. |
| 11702 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11703 | included before <wchar.h>. */ |
| 11704 | #include <stddef.h> |
| 11705 | #include <stdio.h> |
| 11706 | #include <time.h> |
| 11707 | #include <wchar.h> |
| 11708 | int main () |
| 11709 | { |
| 11710 | int result = 0; |
| 11711 | int found_some_locale = 0; |
| 11712 | /* This fails on Solaris. */ |
| 11713 | if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL) |
| 11714 | { |
| 11715 | char input[] = "B\303\274\303\237er"; /* "Büßer" */ |
| 11716 | mbstate_t state; |
| 11717 | wchar_t wc; |
| 11718 | |
| 11719 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11720 | if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) |
| 11721 | { |
| 11722 | input[1] = '\0'; |
| 11723 | if (mbrtowc (&wc, input + 2, 5, &state) != 1) |
| 11724 | result |= 1; |
| 11725 | } |
| 11726 | found_some_locale = 1; |
| 11727 | } |
| 11728 | /* This fails on HP-UX 11.11. */ |
| 11729 | if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) |
| 11730 | { |
| 11731 | char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ |
| 11732 | mbstate_t state; |
| 11733 | wchar_t wc; |
| 11734 | |
| 11735 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11736 | if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) |
| 11737 | { |
| 11738 | input[1] = '\0'; |
| 11739 | if (mbrtowc (&wc, input + 2, 5, &state) != 2) |
| 11740 | result |= 2; |
| 11741 | } |
| 11742 | found_some_locale = 1; |
| 11743 | } |
| 11744 | /* This fails on native Windows. */ |
| 11745 | if (setlocale (LC_ALL, "Japanese_Japan.932") != NULL) |
| 11746 | { |
| 11747 | char input[] = "<\223\372\226\173\214\352>"; /* "<日本語>" */ |
| 11748 | mbstate_t state; |
| 11749 | wchar_t wc; |
| 11750 | |
| 11751 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11752 | if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) |
| 11753 | { |
| 11754 | input[3] = '\0'; |
| 11755 | if (mbrtowc (&wc, input + 4, 4, &state) != 1) |
| 11756 | result |= 4; |
| 11757 | } |
| 11758 | found_some_locale = 1; |
| 11759 | } |
| 11760 | if (setlocale (LC_ALL, "Chinese_Taiwan.950") != NULL) |
| 11761 | { |
| 11762 | char input[] = "<\244\351\245\273\273\171>"; /* "<日本語>" */ |
| 11763 | mbstate_t state; |
| 11764 | wchar_t wc; |
| 11765 | |
| 11766 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11767 | if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) |
| 11768 | { |
| 11769 | input[3] = '\0'; |
| 11770 | if (mbrtowc (&wc, input + 4, 4, &state) != 1) |
| 11771 | result |= 8; |
| 11772 | } |
| 11773 | found_some_locale = 1; |
| 11774 | } |
| 11775 | if (setlocale (LC_ALL, "Chinese_China.936") != NULL) |
| 11776 | { |
| 11777 | char input[] = "<\310\325\261\276\325\132>"; /* "<日本語>" */ |
| 11778 | mbstate_t state; |
| 11779 | wchar_t wc; |
| 11780 | |
| 11781 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11782 | if (mbrtowc (&wc, input + 3, 1, &state) == (size_t)(-2)) |
| 11783 | { |
| 11784 | input[3] = '\0'; |
| 11785 | if (mbrtowc (&wc, input + 4, 4, &state) != 1) |
| 11786 | result |= 16; |
| 11787 | } |
| 11788 | found_some_locale = 1; |
| 11789 | } |
| 11790 | return (found_some_locale ? result : 77); |
| 11791 | } |
| 11792 | _ACEOF |
| 11793 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11794 | gl_cv_func_mbrtowc_retval=yes |
| 11795 | else |
| 11796 | if testscip-shell system . . test. $? != 77; then |
| 11797 | gl_cv_func_mbrtowc_retval=no |
| 11798 | fi |
| 11799 | |
| 11800 | fi |
| 11801 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11802 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11803 | fi |
| 11804 | |
| 11805 | fi |
| 11806 | |
| 11807 | fi |
| 11808 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_retval" >&5 |
| 11809 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_retval" >&6; } |
| 11810 | |
| 11811 | |
| 11812 | |
| 11813 | |
| 11814 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc returns 0 when parsing a NUL character" >&5 |
| 11815 | printfscip-shell system . . printf. %s "checking whether mbrtowc returns 0 when parsing a NUL character... " >&6; } |
| 11816 | if ${gl_cv_func_mbrtowc_nul_retval+:} false; then : |
| 11817 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11818 | else |
| 11819 | |
| 11820 | case "$host_os" in |
| 11821 | # Guess no on Solaris 8 and 9. |
| 11822 | solaris2.[89]) gl_cv_func_mbrtowc_nul_retval="guessing no" ;; |
| 11823 | # Guess yes otherwise. |
| 11824 | *) gl_cv_func_mbrtowc_nul_retval="guessing yes" ;; |
| 11825 | esac |
| 11826 | if testscip-shell system . . test. $LOCALE_ZH_CN != none; then |
| 11827 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11828 | : |
| 11829 | else |
| 11830 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11831 | /* end confdefs.h. */ |
| 11832 | |
| 11833 | #include <locale.h> |
| 11834 | #include <string.h> |
| 11835 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11836 | <wchar.h>. |
| 11837 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11838 | included before <wchar.h>. */ |
| 11839 | #include <stddef.h> |
| 11840 | #include <stdio.h> |
| 11841 | #include <time.h> |
| 11842 | #include <wchar.h> |
| 11843 | int main () |
| 11844 | { |
| 11845 | /* This fails on Solaris 8 and 9. */ |
| 11846 | if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) |
| 11847 | { |
| 11848 | mbstate_t state; |
| 11849 | wchar_t wc; |
| 11850 | |
| 11851 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11852 | if (mbrtowc (&wc, "", 1, &state) != 0) |
| 11853 | return 1; |
| 11854 | } |
| 11855 | return 0; |
| 11856 | } |
| 11857 | _ACEOF |
| 11858 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11859 | gl_cv_func_mbrtowc_nul_retval=yes |
| 11860 | else |
| 11861 | gl_cv_func_mbrtowc_nul_retval=no |
| 11862 | fi |
| 11863 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 11864 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 11865 | fi |
| 11866 | |
| 11867 | fi |
| 11868 | |
| 11869 | fi |
| 11870 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_nul_retval" >&5 |
| 11871 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_nul_retval" >&6; } |
| 11872 | |
| 11873 | case "$gl_cv_func_mbrtowc_null_arg1" in |
| 11874 | *yes) ;; |
| 11875 | *) |
| 11876 | printfscip-shell system . . printf. "%s\n" "#define MBRTOWC_NULL_ARG1_BUG 1" >>confdefs.h |
| 11877 | |
| 11878 | REPLACE_MBRTOWC=1 |
| 11879 | ;; |
| 11880 | esac |
| 11881 | case "$gl_cv_func_mbrtowc_null_arg2" in |
| 11882 | *yes) ;; |
| 11883 | *) |
| 11884 | printfscip-shell system . . printf. "%s\n" "#define MBRTOWC_NULL_ARG2_BUG 1" >>confdefs.h |
| 11885 | |
| 11886 | REPLACE_MBRTOWC=1 |
| 11887 | ;; |
| 11888 | esac |
| 11889 | case "$gl_cv_func_mbrtowc_retval" in |
| 11890 | *yes) ;; |
| 11891 | *) |
| 11892 | printfscip-shell system . . printf. "%s\n" "#define MBRTOWC_RETVAL_BUG 1" >>confdefs.h |
| 11893 | |
| 11894 | REPLACE_MBRTOWC=1 |
| 11895 | ;; |
| 11896 | esac |
| 11897 | case "$gl_cv_func_mbrtowc_nul_retval" in |
| 11898 | *yes) ;; |
| 11899 | *) |
| 11900 | printfscip-shell system . . printf. "%s\n" "#define MBRTOWC_NUL_RETVAL_BUG 1" >>confdefs.h |
| 11901 | |
| 11902 | REPLACE_MBRTOWC=1 |
| 11903 | ;; |
| 11904 | esac |
| 11905 | fi |
| 11906 | fi |
| 11907 | |
| 11908 | if testscip-shell system . . test. $HAVE_MBRTOWC = 0 || testscip-shell system . . test. $REPLACE_MBRTOWC = 1; then |
| 11909 | |
| 11910 | |
| 11911 | |
| 11912 | |
| 11913 | |
| 11914 | |
| 11915 | |
| 11916 | |
| 11917 | gl_LIBOBJS="$gl_LIBOBJS mbrtowc.$ac_objext" |
| 11918 | |
| 11919 | |
| 11920 | : |
| 11921 | |
| 11922 | fi |
| 11923 | |
| 11924 | |
| 11925 | |
| 11926 | |
| 11927 | |
| 11928 | GNULIB_MBRTOWC=1 |
| 11929 | |
| 11930 | |
| 11931 | |
| 11932 | |
| 11933 | |
| 11934 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_MBRTOWC 1" >>confdefs.h |
| 11935 | |
| 11936 | |
| 11937 | |
| 11938 | |
| 11939 | |
| 11940 | |
| 11941 | |
| 11942 | |
| 11943 | |
| 11944 | |
| 11945 | |
| 11946 | |
| 11947 | |
| 11948 | |
| 11949 | if testscip-shell system . . test. $ac_cv_func_mbsinit = yes && testscip-shell system . . test. $ac_cv_func_mbrtowc = yes; then |
| 11950 | |
| 11951 | |
| 11952 | |
| 11953 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc handles incomplete characters" >&5 |
| 11954 | printfscip-shell system . . printf. %s "checking whether mbrtowc handles incomplete characters... " >&6; } |
| 11955 | if ${gl_cv_func_mbrtowc_incomplete_state+:} false; then : |
| 11956 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 11957 | else |
| 11958 | |
| 11959 | case "$host_os" in |
| 11960 | # Guess no on AIX and OSF/1. |
| 11961 | aix* | osf*) gl_cv_func_mbrtowc_incomplete_state="guessing no" ;; |
| 11962 | # Guess yes otherwise. |
| 11963 | *) gl_cv_func_mbrtowc_incomplete_state="guessing yes" ;; |
| 11964 | esac |
| 11965 | if testscip-shell system . . test. $LOCALE_JA != none; then |
| 11966 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 11967 | : |
| 11968 | else |
| 11969 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11970 | /* end confdefs.h. */ |
| 11971 | |
| 11972 | #include <locale.h> |
| 11973 | #include <string.h> |
| 11974 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 11975 | <wchar.h>. |
| 11976 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 11977 | included before <wchar.h>. */ |
| 11978 | #include <stddef.h> |
| 11979 | #include <stdio.h> |
| 11980 | #include <time.h> |
| 11981 | #include <wchar.h> |
| 11982 | int main () |
| 11983 | { |
| 11984 | if (setlocale (LC_ALL, "$LOCALE_JA") != NULL) |
| 11985 | { |
| 11986 | const char input[] = "B\217\253\344\217\251\316er"; /* "Büßer" */ |
| 11987 | mbstate_t state; |
| 11988 | wchar_t wc; |
| 11989 | |
| 11990 | memset (&state, '\0', sizeof (mbstate_t)); |
| 11991 | if (mbrtowc (&wc, input + 1, 1, &state) == (size_t)(-2)) |
| 11992 | if (mbsinit (&state)) |
| 11993 | return 1; |
| 11994 | } |
| 11995 | return 0; |
| 11996 | } |
| 11997 | _ACEOF |
| 11998 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 11999 | gl_cv_func_mbrtowc_incomplete_state=yes |
| 12000 | else |
| 12001 | gl_cv_func_mbrtowc_incomplete_state=no |
| 12002 | fi |
| 12003 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12004 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12005 | fi |
| 12006 | |
| 12007 | fi |
| 12008 | |
| 12009 | fi |
| 12010 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_incomplete_state" >&5 |
| 12011 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_incomplete_state" >&6; } |
| 12012 | |
| 12013 | |
| 12014 | |
| 12015 | |
| 12016 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mbrtowc works as well as mbtowc" >&5 |
| 12017 | printfscip-shell system . . printf. %s "checking whether mbrtowc works as well as mbtowc... " >&6; } |
| 12018 | if ${gl_cv_func_mbrtowc_sanitycheck+:} false; then : |
| 12019 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12020 | else |
| 12021 | |
| 12022 | case "$host_os" in |
| 12023 | # Guess no on Solaris 8. |
| 12024 | solaris2.8) gl_cv_func_mbrtowc_sanitycheck="guessing no" ;; |
| 12025 | # Guess yes otherwise. |
| 12026 | *) gl_cv_func_mbrtowc_sanitycheck="guessing yes" ;; |
| 12027 | esac |
| 12028 | if testscip-shell system . . test. $LOCALE_ZH_CN != none; then |
| 12029 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 12030 | : |
| 12031 | else |
| 12032 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12033 | /* end confdefs.h. */ |
| 12034 | |
| 12035 | #include <locale.h> |
| 12036 | #include <stdlib.h> |
| 12037 | #include <string.h> |
| 12038 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 12039 | <wchar.h>. |
| 12040 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 12041 | included before <wchar.h>. */ |
| 12042 | #include <stddef.h> |
| 12043 | #include <stdio.h> |
| 12044 | #include <time.h> |
| 12045 | #include <wchar.h> |
| 12046 | int main () |
| 12047 | { |
| 12048 | /* This fails on Solaris 8: |
| 12049 | mbrtowc returns 2, and sets wc to 0x00F0. |
| 12050 | mbtowc returns 4 (correct) and sets wc to 0x5EDC. */ |
| 12051 | if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL) |
| 12052 | { |
| 12053 | char input[] = "B\250\271\201\060\211\070er"; /* "Büßer" */ |
| 12054 | mbstate_t state; |
| 12055 | wchar_t wc; |
| 12056 | |
| 12057 | memset (&state, '\0', sizeof (mbstate_t)); |
| 12058 | if (mbrtowc (&wc, input + 3, 6, &state) != 4 |
| 12059 | && mbtowc (&wc, input + 3, 6) == 4) |
| 12060 | return 1; |
| 12061 | } |
| 12062 | return 0; |
| 12063 | } |
| 12064 | _ACEOF |
| 12065 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 12066 | gl_cv_func_mbrtowc_sanitycheck=yes |
| 12067 | else |
| 12068 | gl_cv_func_mbrtowc_sanitycheck=no |
| 12069 | fi |
| 12070 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12071 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12072 | fi |
| 12073 | |
| 12074 | fi |
| 12075 | |
| 12076 | fi |
| 12077 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_mbrtowc_sanitycheck" >&5 |
| 12078 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_mbrtowc_sanitycheck" >&6; } |
| 12079 | |
| 12080 | REPLACE_MBSTATE_T=0 |
| 12081 | case "$gl_cv_func_mbrtowc_incomplete_state" in |
| 12082 | *yes) ;; |
| 12083 | *) REPLACE_MBSTATE_T=1 ;; |
| 12084 | esac |
| 12085 | case "$gl_cv_func_mbrtowc_sanitycheck" in |
| 12086 | *yes) ;; |
| 12087 | *) REPLACE_MBSTATE_T=1 ;; |
| 12088 | esac |
| 12089 | else |
| 12090 | REPLACE_MBSTATE_T=1 |
| 12091 | fi |
| 12092 | |
| 12093 | |
| 12094 | |
| 12095 | if testscip-shell system . . test. $ac_cv_func_mbsinit = no; then |
| 12096 | HAVE_MBSINIT=0 |
| 12097 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "mbsinit" "ac_cv_have_decl_mbsinit" " |
| 12098 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 12099 | <wchar.h>. |
| 12100 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 12101 | included before <wchar.h>. */ |
| 12102 | #include <stddef.h> |
| 12103 | #include <stdio.h> |
| 12104 | #include <time.h> |
| 12105 | #include <wchar.h> |
| 12106 | |
| 12107 | " |
| 12108 | if testscip-shell system . . test. "x$ac_cv_have_decl_mbsinit" = xyes; then : |
| 12109 | ac_have_decl=1 |
| 12110 | else |
| 12111 | ac_have_decl=0 |
| 12112 | fi |
| 12113 | |
| 12114 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12115 | #define HAVE_DECL_MBSINIT $ac_have_decl |
| 12116 | _ACEOF |
| 12117 | |
| 12118 | if testscip-shell system . . test. $ac_cv_have_decl_mbsinit = yes; then |
| 12119 | REPLACE_MBSINIT=1 |
| 12120 | fi |
| 12121 | else |
| 12122 | if testscip-shell system . . test. $REPLACE_MBSTATE_T = 1; then |
| 12123 | REPLACE_MBSINIT=1 |
| 12124 | else |
| 12125 | case "$host_os" in |
| 12126 | mingw*) REPLACE_MBSINIT=1 ;; |
| 12127 | esac |
| 12128 | fi |
| 12129 | fi |
| 12130 | |
| 12131 | if testscip-shell system . . test. $HAVE_MBSINIT = 0 || testscip-shell system . . test. $REPLACE_MBSINIT = 1; then |
| 12132 | |
| 12133 | |
| 12134 | |
| 12135 | |
| 12136 | |
| 12137 | |
| 12138 | |
| 12139 | |
| 12140 | gl_LIBOBJS="$gl_LIBOBJS mbsinit.$ac_objext" |
| 12141 | |
| 12142 | |
| 12143 | : |
| 12144 | |
| 12145 | fi |
| 12146 | |
| 12147 | |
| 12148 | |
| 12149 | |
| 12150 | |
| 12151 | GNULIB_MBSINIT=1 |
| 12152 | |
| 12153 | |
| 12154 | |
| 12155 | |
| 12156 | |
| 12157 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_MBSINIT 1" >>confdefs.h |
| 12158 | |
| 12159 | |
| 12160 | |
| 12161 | |
| 12162 | |
| 12163 | if testscip-shell system . . test. $ac_cv_func__set_invalid_parameter_handler = yes; then |
| 12164 | HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 |
| 12165 | |
| 12166 | printfscip-shell system . . printf. "%s\n" "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h |
| 12167 | |
| 12168 | else |
| 12169 | HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 |
| 12170 | fi |
| 12171 | |
| 12172 | |
| 12173 | if testscip-shell system . . test. $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then |
| 12174 | |
| 12175 | |
| 12176 | |
| 12177 | |
| 12178 | |
| 12179 | |
| 12180 | |
| 12181 | |
| 12182 | gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext" |
| 12183 | |
| 12184 | fi |
| 12185 | |
| 12186 | |
| 12187 | |
| 12188 | if testscip-shell system . . test. $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then |
| 12189 | |
| 12190 | |
| 12191 | |
| 12192 | |
| 12193 | |
| 12194 | |
| 12195 | |
| 12196 | |
| 12197 | gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext" |
| 12198 | |
| 12199 | fi |
| 12200 | |
| 12201 | |
| 12202 | |
| 12203 | |
| 12204 | |
| 12205 | |
| 12206 | |
| 12207 | |
| 12208 | |
| 12209 | |
| 12210 | |
| 12211 | |
| 12212 | |
| 12213 | |
| 12214 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5 |
| 12215 | printfscip-shell system . . printf. %s "checking for obstacks... " >&6; } |
| 12216 | if ${ac_cv_func_obstack+:} false; then : |
| 12217 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12218 | else |
| 12219 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12220 | /* end confdefs.h. */ |
| 12221 | $ac_includes_default |
| 12222 | #include "obstack.h" |
| 12223 | int |
| 12224 | main () |
| 12225 | { |
| 12226 | struct obstack mem; |
| 12227 | #define obstack_chunk_alloc malloc |
| 12228 | #define obstack_chunk_free free |
| 12229 | obstack_init (&mem); |
| 12230 | obstack_free (&mem, 0); |
| 12231 | ; |
| 12232 | return 0; |
| 12233 | } |
| 12234 | _ACEOF |
| 12235 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 12236 | ac_cv_func_obstack=yes |
| 12237 | else |
| 12238 | ac_cv_func_obstack=no |
| 12239 | fi |
| 12240 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 12241 | conftest$ac_exeext conftest.$ac_ext |
| 12242 | fi |
| 12243 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5 |
| 12244 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_obstack" >&6; } |
| 12245 | if testscip-shell system . . test. $ac_cv_func_obstack = yes; then |
| 12246 | |
| 12247 | printfscip-shell system . . printf. "%s\n" "#define HAVE_OBSTACK 1" >>confdefs.h |
| 12248 | |
| 12249 | else |
| 12250 | |
| 12251 | |
| 12252 | |
| 12253 | |
| 12254 | |
| 12255 | |
| 12256 | |
| 12257 | |
| 12258 | gl_LIBOBJS="$gl_LIBOBJS obstack.$ac_objext" |
| 12259 | |
| 12260 | fi |
| 12261 | |
| 12262 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h> |
| 12263 | " |
| 12264 | if testscip-shell system . . test. "x$ac_cv_have_decl_program_invocation_name" = xyes; then : |
| 12265 | ac_have_decl=1 |
| 12266 | else |
| 12267 | ac_have_decl=0 |
| 12268 | fi |
| 12269 | |
| 12270 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12271 | #define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl |
| 12272 | _ACEOF |
| 12273 | |
| 12274 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h> |
| 12275 | " |
| 12276 | if testscip-shell system . . test. "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : |
| 12277 | ac_have_decl=1 |
| 12278 | else |
| 12279 | ac_have_decl=0 |
| 12280 | fi |
| 12281 | |
| 12282 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12283 | #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl |
| 12284 | _ACEOF |
| 12285 | |
| 12286 | |
| 12287 | : |
| 12288 | |
| 12289 | |
| 12290 | : |
| 12291 | |
| 12292 | |
| 12293 | |
| 12294 | |
| 12295 | for ac_header in stdlib.h |
| 12296 | do : |
| 12297 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
| 12298 | if testscip-shell system . . test. "x$ac_cv_header_stdlib_h" = xyes; then : |
| 12299 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12300 | #define HAVE_STDLIB_H 1 |
| 12301 | _ACEOF |
| 12302 | |
| 12303 | fi |
| 12304 | |
| 12305 | done |
| 12306 | |
| 12307 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
| 12308 | printfscip-shell system . . printf. %s "checking for GNU libc compatible realloc... " >&6; } |
| 12309 | if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
| 12310 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12311 | else |
| 12312 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 12313 | case "$host_os" in |
| 12314 | # Guess yes on platforms where we know the result. |
| 12315 | *-gnu* | freebsd* | netbsd* | openbsd* \ |
| 12316 | | hpux* | solaris* | cygwin* | mingw*) |
| 12317 | ac_cv_func_realloc_0_nonnull=yes ;; |
| 12318 | # If we don't know, assume the worst. |
| 12319 | *) ac_cv_func_realloc_0_nonnull=no ;; |
| 12320 | esac |
| 12321 | |
| 12322 | else |
| 12323 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12324 | /* end confdefs.h. */ |
| 12325 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
| 12326 | # include <stdlib.h> |
| 12327 | #else |
| 12328 | char *realloc (); |
| 12329 | #endif |
| 12330 | |
| 12331 | int |
| 12332 | main () |
| 12333 | { |
| 12334 | return ! realloc (0, 0); |
| 12335 | ; |
| 12336 | return 0; |
| 12337 | } |
| 12338 | |
| 12339 | _ACEOF |
| 12340 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 12341 | ac_cv_func_realloc_0_nonnull=yes |
| 12342 | else |
| 12343 | ac_cv_func_realloc_0_nonnull=no |
| 12344 | fi |
| 12345 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12346 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12347 | fi |
| 12348 | |
| 12349 | |
| 12350 | fi |
| 12351 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 |
| 12352 | printfscip-shell system . . printf. "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; } |
| 12353 | if testscip-shell system . . test. $ac_cv_func_realloc_0_nonnull = yes; then : |
| 12354 | |
| 12355 | printfscip-shell system . . printf. "%s\n" "#define HAVE_REALLOC_GNU 1" >>confdefs.h |
| 12356 | |
| 12357 | else |
| 12358 | printfscip-shell system . . printf. "%s\n" "#define HAVE_REALLOC_GNU 0" >>confdefs.h |
| 12359 | |
| 12360 | REPLACE_REALLOC=1 |
| 12361 | |
| 12362 | fi |
| 12363 | |
| 12364 | |
| 12365 | if testscip-shell system . . test. $REPLACE_REALLOC = 1; then |
| 12366 | |
| 12367 | |
| 12368 | |
| 12369 | |
| 12370 | |
| 12371 | |
| 12372 | |
| 12373 | |
| 12374 | gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" |
| 12375 | |
| 12376 | fi |
| 12377 | |
| 12378 | |
| 12379 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12380 | #define GNULIB_REALLOC_GNU 1 |
| 12381 | _ACEOF |
| 12382 | |
| 12383 | |
| 12384 | |
| 12385 | |
| 12386 | |
| 12387 | if testscip-shell system . . test. $gl_cv_func_malloc_posix = yes; then |
| 12388 | |
| 12389 | printfscip-shell system . . printf. "%s\n" "#define HAVE_REALLOC_POSIX 1" >>confdefs.h |
| 12390 | |
| 12391 | else |
| 12392 | REPLACE_REALLOC=1 |
| 12393 | fi |
| 12394 | |
| 12395 | if testscip-shell system . . test. $REPLACE_REALLOC = 1; then |
| 12396 | |
| 12397 | |
| 12398 | |
| 12399 | |
| 12400 | |
| 12401 | |
| 12402 | |
| 12403 | |
| 12404 | gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext" |
| 12405 | |
| 12406 | fi |
| 12407 | |
| 12408 | |
| 12409 | |
| 12410 | |
| 12411 | |
| 12412 | GNULIB_REALLOC_POSIX=1 |
| 12413 | |
| 12414 | |
| 12415 | |
| 12416 | |
| 12417 | |
| 12418 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_REALLOC_POSIX 1" >>confdefs.h |
| 12419 | |
| 12420 | |
| 12421 | |
| 12422 | |
| 12423 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 |
| 12424 | printfscip-shell system . . printf. %s "checking for ssize_t... " >&6; } |
| 12425 | if ${gt_cv_ssize_t+:} false; then : |
| 12426 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12427 | else |
| 12428 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12429 | /* end confdefs.h. */ |
| 12430 | #include <sys/types.h> |
| 12431 | int |
| 12432 | main () |
| 12433 | { |
| 12434 | int x = sizeof (ssize_t *) + sizeof (ssize_t); |
| 12435 | return !x; |
| 12436 | ; |
| 12437 | return 0; |
| 12438 | } |
| 12439 | _ACEOF |
| 12440 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 12441 | gt_cv_ssize_t=yes |
| 12442 | else |
| 12443 | gt_cv_ssize_t=no |
| 12444 | fi |
| 12445 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12446 | fi |
| 12447 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 |
| 12448 | printfscip-shell system . . printf. "%s\n" "$gt_cv_ssize_t" >&6; } |
| 12449 | if testscip-shell system . . test. $gt_cv_ssize_t = no; then |
| 12450 | |
| 12451 | printfscip-shell system . . printf. "%s\n" "#define ssize_t int" >>confdefs.h |
| 12452 | |
| 12453 | fi |
| 12454 | |
| 12455 | |
| 12456 | STDARG_H='' |
| 12457 | NEXT_STDARG_H='<stdarg.h>' |
| 12458 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 |
| 12459 | printfscip-shell system . . printf. %s "checking for va_copy... " >&6; } |
| 12460 | if ${gl_cv_func_va_copy+:} false; then : |
| 12461 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12462 | else |
| 12463 | |
| 12464 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12465 | /* end confdefs.h. */ |
| 12466 | #include <stdarg.h> |
| 12467 | int |
| 12468 | main () |
| 12469 | { |
| 12470 | |
| 12471 | #ifndef va_copy |
| 12472 | void (*func) (va_list, va_list) = va_copy; |
| 12473 | #endif |
| 12474 | |
| 12475 | ; |
| 12476 | return 0; |
| 12477 | } |
| 12478 | _ACEOF |
| 12479 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 12480 | gl_cv_func_va_copy=yes |
| 12481 | else |
| 12482 | gl_cv_func_va_copy=no |
| 12483 | fi |
| 12484 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12485 | fi |
| 12486 | |
| 12487 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_va_copy" >&5 |
| 12488 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_va_copy" >&6; } |
| 12489 | if testscip-shell system . . test. $gl_cv_func_va_copy = no; then |
| 12490 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12491 | /* end confdefs.h. */ |
| 12492 | #if defined _AIX && !defined __GNUC__ |
| 12493 | AIX vaccine |
| 12494 | #endif |
| 12495 | |
| 12496 | _ACEOF |
| 12497 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 12498 | $EGREP "vaccine" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 12499 | gl_aixcc=yes |
| 12500 | else |
| 12501 | gl_aixcc=no |
| 12502 | fi |
| 12503 | rmscip-shell system . . rm. -f conftest* |
| 12504 | |
| 12505 | if testscip-shell system . . test. $gl_aixcc = yes; then |
| 12506 | STDARG_H=stdarg.h |
| 12507 | |
| 12508 | |
| 12509 | |
| 12510 | |
| 12511 | |
| 12512 | |
| 12513 | |
| 12514 | |
| 12515 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 12516 | gl_cv_next_stdarg_h='<'stdarg.h'>' |
| 12517 | else |
| 12518 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5 |
| 12519 | printfscip-shell system . . printf. %s "checking absolute name of <stdarg.h>... " >&6; } |
| 12520 | if ${gl_cv_next_stdarg_h+:} false; then : |
| 12521 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12522 | else |
| 12523 | |
| 12524 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12525 | /* end confdefs.h. */ |
| 12526 | #include <stdarg.h> |
| 12527 | |
| 12528 | _ACEOF |
| 12529 | case "$host_os" in |
| 12530 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 12531 | *) gl_absname_cpp="$ac_cpp" ;; |
| 12532 | esac |
| 12533 | |
| 12534 | case "$host_os" in |
| 12535 | mingw*) |
| 12536 | gl_dirsep_regex='[/\\]' |
| 12537 | ;; |
| 12538 | *) |
| 12539 | gl_dirsep_regex='\/' |
| 12540 | ;; |
| 12541 | esac |
| 12542 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 12543 | |
| 12544 | gl_header_literal_regex=`echoscip-shell system . . echo. 'stdarg.h' \ |
| 12545 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 12546 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 12547 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 12548 | s|^/[^/]|//&| |
| 12549 | p |
| 12550 | q |
| 12551 | }' |
| 12552 | gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 12553 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 12554 | |
| 12555 | |
| 12556 | fi |
| 12557 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5 |
| 12558 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_stdarg_h" >&6; } |
| 12559 | fi |
| 12560 | NEXT_STDARG_H=$gl_cv_next_stdarg_h |
| 12561 | |
| 12562 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 12563 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 12564 | gl_next_as_first_directive='<'stdarg.h'>' |
| 12565 | else |
| 12566 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 12567 | gl_next_as_first_directive=$gl_cv_next_stdarg_h |
| 12568 | fi |
| 12569 | NEXT_AS_FIRST_DIRECTIVE_STDARG_H=$gl_next_as_first_directive |
| 12570 | |
| 12571 | |
| 12572 | |
| 12573 | |
| 12574 | if testscip-shell system . . test. "$gl_cv_next_stdarg_h" = '""'; then |
| 12575 | gl_cv_next_stdarg_h='"///usr/include/stdarg.h"' |
| 12576 | NEXT_STDARG_H="$gl_cv_next_stdarg_h" |
| 12577 | fi |
| 12578 | else |
| 12579 | |
| 12580 | saved_as_echo_n="$as_echo_n" |
| 12581 | as_echo_n=':' |
| 12582 | if ${gl_cv_func___va_copy+:} false; then : |
| 12583 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12584 | else |
| 12585 | |
| 12586 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12587 | /* end confdefs.h. */ |
| 12588 | #include <stdarg.h> |
| 12589 | int |
| 12590 | main () |
| 12591 | { |
| 12592 | |
| 12593 | #ifndef __va_copy |
| 12594 | error, bail out |
| 12595 | #endif |
| 12596 | |
| 12597 | ; |
| 12598 | return 0; |
| 12599 | } |
| 12600 | _ACEOF |
| 12601 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 12602 | gl_cv_func___va_copy=yes |
| 12603 | else |
| 12604 | gl_cv_func___va_copy=no |
| 12605 | fi |
| 12606 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12607 | fi |
| 12608 | |
| 12609 | as_echo_n="$saved_as_echo_n" |
| 12610 | |
| 12611 | if testscip-shell system . . test. $gl_cv_func___va_copy = yes; then |
| 12612 | |
| 12613 | printfscip-shell system . . printf. "%s\n" "#define va_copy __va_copy" >>confdefs.h |
| 12614 | |
| 12615 | else |
| 12616 | |
| 12617 | |
| 12618 | printfscip-shell system . . printf. "%s\n" "#define va_copy gl_va_copy" >>confdefs.h |
| 12619 | |
| 12620 | fi |
| 12621 | fi |
| 12622 | fi |
| 12623 | |
| 12624 | if testscip-shell system . . test. -n "$STDARG_H"; then |
| 12625 | GL_GENERATE_STDARG_H_TRUE= |
| 12626 | GL_GENERATE_STDARG_H_FALSE='#' |
| 12627 | else |
| 12628 | GL_GENERATE_STDARG_H_TRUE='#' |
| 12629 | GL_GENERATE_STDARG_H_FALSE= |
| 12630 | fi |
| 12631 | |
| 12632 | |
| 12633 | |
| 12634 | |
| 12635 | |
| 12636 | |
| 12637 | # Define two additional variables used in the Makefile substitution. |
| 12638 | |
| 12639 | if testscip-shell system . . test. "$ac_cv_header_stdbool_h" = yes; then |
| 12640 | STDBOOL_H='' |
| 12641 | else |
| 12642 | STDBOOL_H='stdbool.h' |
| 12643 | fi |
| 12644 | |
| 12645 | if testscip-shell system . . test. -n "$STDBOOL_H"; then |
| 12646 | GL_GENERATE_STDBOOL_H_TRUE= |
| 12647 | GL_GENERATE_STDBOOL_H_FALSE='#' |
| 12648 | else |
| 12649 | GL_GENERATE_STDBOOL_H_TRUE='#' |
| 12650 | GL_GENERATE_STDBOOL_H_FALSE= |
| 12651 | fi |
| 12652 | |
| 12653 | |
| 12654 | if testscip-shell system . . test. "$ac_cv_type__Bool" = yes; then |
| 12655 | HAVE__BOOL=1 |
| 12656 | else |
| 12657 | HAVE__BOOL=0 |
| 12658 | fi |
| 12659 | |
| 12660 | |
| 12661 | |
| 12662 | |
| 12663 | |
| 12664 | STDDEF_H= |
| 12665 | if testscip-shell system . . test. $gt_cv_c_wchar_t = no; then |
| 12666 | HAVE_WCHAR_T=0 |
| 12667 | STDDEF_H=stddef.h |
| 12668 | fi |
| 12669 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 |
| 12670 | printfscip-shell system . . printf. %s "checking whether NULL can be used in arbitrary expressions... " >&6; } |
| 12671 | if ${gl_cv_decl_null_works+:} false; then : |
| 12672 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12673 | else |
| 12674 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12675 | /* end confdefs.h. */ |
| 12676 | #include <stddef.h> |
| 12677 | int test[2 * (sizeof NULL == sizeof (void *)) -1]; |
| 12678 | |
| 12679 | int |
| 12680 | main () |
| 12681 | { |
| 12682 | |
| 12683 | ; |
| 12684 | return 0; |
| 12685 | } |
| 12686 | _ACEOF |
| 12687 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 12688 | gl_cv_decl_null_works=yes |
| 12689 | else |
| 12690 | gl_cv_decl_null_works=no |
| 12691 | fi |
| 12692 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12693 | fi |
| 12694 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 |
| 12695 | printfscip-shell system . . printf. "%s\n" "$gl_cv_decl_null_works" >&6; } |
| 12696 | if testscip-shell system . . test. $gl_cv_decl_null_works = no; then |
| 12697 | REPLACE_NULL=1 |
| 12698 | STDDEF_H=stddef.h |
| 12699 | fi |
| 12700 | |
| 12701 | if testscip-shell system . . test. -n "$STDDEF_H"; then |
| 12702 | GL_GENERATE_STDDEF_H_TRUE= |
| 12703 | GL_GENERATE_STDDEF_H_FALSE='#' |
| 12704 | else |
| 12705 | GL_GENERATE_STDDEF_H_TRUE='#' |
| 12706 | GL_GENERATE_STDDEF_H_FALSE= |
| 12707 | fi |
| 12708 | |
| 12709 | if testscip-shell system . . test. -n "$STDDEF_H"; then |
| 12710 | |
| 12711 | |
| 12712 | |
| 12713 | |
| 12714 | |
| 12715 | |
| 12716 | |
| 12717 | |
| 12718 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 12719 | gl_cv_next_stddef_h='<'stddef.h'>' |
| 12720 | else |
| 12721 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5 |
| 12722 | printfscip-shell system . . printf. %s "checking absolute name of <stddef.h>... " >&6; } |
| 12723 | if ${gl_cv_next_stddef_h+:} false; then : |
| 12724 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12725 | else |
| 12726 | |
| 12727 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12728 | /* end confdefs.h. */ |
| 12729 | #include <stddef.h> |
| 12730 | |
| 12731 | _ACEOF |
| 12732 | case "$host_os" in |
| 12733 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 12734 | *) gl_absname_cpp="$ac_cpp" ;; |
| 12735 | esac |
| 12736 | |
| 12737 | case "$host_os" in |
| 12738 | mingw*) |
| 12739 | gl_dirsep_regex='[/\\]' |
| 12740 | ;; |
| 12741 | *) |
| 12742 | gl_dirsep_regex='\/' |
| 12743 | ;; |
| 12744 | esac |
| 12745 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 12746 | |
| 12747 | gl_header_literal_regex=`echoscip-shell system . . echo. 'stddef.h' \ |
| 12748 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 12749 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 12750 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 12751 | s|^/[^/]|//&| |
| 12752 | p |
| 12753 | q |
| 12754 | }' |
| 12755 | gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 12756 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 12757 | |
| 12758 | |
| 12759 | fi |
| 12760 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 |
| 12761 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_stddef_h" >&6; } |
| 12762 | fi |
| 12763 | NEXT_STDDEF_H=$gl_cv_next_stddef_h |
| 12764 | |
| 12765 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 12766 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 12767 | gl_next_as_first_directive='<'stddef.h'>' |
| 12768 | else |
| 12769 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 12770 | gl_next_as_first_directive=$gl_cv_next_stddef_h |
| 12771 | fi |
| 12772 | NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive |
| 12773 | |
| 12774 | |
| 12775 | |
| 12776 | |
| 12777 | fi |
| 12778 | |
| 12779 | |
| 12780 | |
| 12781 | |
| 12782 | |
| 12783 | |
| 12784 | |
| 12785 | |
| 12786 | |
| 12787 | |
| 12788 | |
| 12789 | |
| 12790 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 12791 | gl_cv_next_stdlib_h='<'stdlib.h'>' |
| 12792 | else |
| 12793 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5 |
| 12794 | printfscip-shell system . . printf. %s "checking absolute name of <stdlib.h>... " >&6; } |
| 12795 | if ${gl_cv_next_stdlib_h+:} false; then : |
| 12796 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12797 | else |
| 12798 | |
| 12799 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12800 | /* end confdefs.h. */ |
| 12801 | #include <stdlib.h> |
| 12802 | |
| 12803 | _ACEOF |
| 12804 | case "$host_os" in |
| 12805 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 12806 | *) gl_absname_cpp="$ac_cpp" ;; |
| 12807 | esac |
| 12808 | |
| 12809 | case "$host_os" in |
| 12810 | mingw*) |
| 12811 | gl_dirsep_regex='[/\\]' |
| 12812 | ;; |
| 12813 | *) |
| 12814 | gl_dirsep_regex='\/' |
| 12815 | ;; |
| 12816 | esac |
| 12817 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 12818 | |
| 12819 | gl_header_literal_regex=`echoscip-shell system . . echo. 'stdlib.h' \ |
| 12820 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 12821 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 12822 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 12823 | s|^/[^/]|//&| |
| 12824 | p |
| 12825 | q |
| 12826 | }' |
| 12827 | gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 12828 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 12829 | |
| 12830 | |
| 12831 | fi |
| 12832 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 |
| 12833 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_stdlib_h" >&6; } |
| 12834 | fi |
| 12835 | NEXT_STDLIB_H=$gl_cv_next_stdlib_h |
| 12836 | |
| 12837 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 12838 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 12839 | gl_next_as_first_directive='<'stdlib.h'>' |
| 12840 | else |
| 12841 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 12842 | gl_next_as_first_directive=$gl_cv_next_stdlib_h |
| 12843 | fi |
| 12844 | NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive |
| 12845 | |
| 12846 | |
| 12847 | |
| 12848 | |
| 12849 | |
| 12850 | |
| 12851 | for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r random random_r realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtoll strtoull unlockpt unsetenv; do |
| 12852 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 12853 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 12854 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 12855 | if eval \${$as_gl_Symbol+:} false; then : |
| 12856 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12857 | else |
| 12858 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12859 | /* end confdefs.h. */ |
| 12860 | #include <stdlib.h> |
| 12861 | #if HAVE_SYS_LOADAVG_H |
| 12862 | # include <sys/loadavg.h> |
| 12863 | #endif |
| 12864 | #if HAVE_RANDOM_H |
| 12865 | # include <random.h> |
| 12866 | #endif |
| 12867 | |
| 12868 | int |
| 12869 | main () |
| 12870 | { |
| 12871 | #undef $gl_func |
| 12872 | (void) $gl_func; |
| 12873 | ; |
| 12874 | return 0; |
| 12875 | } |
| 12876 | _ACEOF |
| 12877 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 12878 | eval "$as_gl_Symbol=yes" |
| 12879 | else |
| 12880 | eval "$as_gl_Symbol=no" |
| 12881 | fi |
| 12882 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12883 | fi |
| 12884 | eval ac_res=\$$as_gl_Symbol |
| 12885 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 12886 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 12887 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 12888 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12889 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 12890 | _ACEOF |
| 12891 | |
| 12892 | eval ac_cv_have_decl_$gl_func=yes |
| 12893 | fi |
| 12894 | done |
| 12895 | |
| 12896 | |
| 12897 | |
| 12898 | |
| 12899 | |
| 12900 | |
| 12901 | |
| 12902 | |
| 12903 | for ac_func in stpcpy |
| 12904 | do : |
| 12905 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). "$LINENO" "stpcpy" "ac_cv_func_stpcpy" |
| 12906 | if testscip-shell system . . test. "x$ac_cv_func_stpcpy" = xyes; then : |
| 12907 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 12908 | #define HAVE_STPCPY 1 |
| 12909 | _ACEOF |
| 12910 | |
| 12911 | fi |
| 12912 | done |
| 12913 | |
| 12914 | if testscip-shell system . . test. $ac_cv_func_stpcpy = no; then |
| 12915 | HAVE_STPCPY=0 |
| 12916 | fi |
| 12917 | |
| 12918 | if testscip-shell system . . test. $HAVE_STPCPY = 0; then |
| 12919 | |
| 12920 | |
| 12921 | |
| 12922 | |
| 12923 | |
| 12924 | |
| 12925 | |
| 12926 | |
| 12927 | gl_LIBOBJS="$gl_LIBOBJS stpcpy.$ac_objext" |
| 12928 | |
| 12929 | |
| 12930 | : |
| 12931 | |
| 12932 | fi |
| 12933 | |
| 12934 | |
| 12935 | |
| 12936 | |
| 12937 | |
| 12938 | GNULIB_STPCPY=1 |
| 12939 | |
| 12940 | |
| 12941 | |
| 12942 | |
| 12943 | |
| 12944 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_STPCPY 1" >>confdefs.h |
| 12945 | |
| 12946 | |
| 12947 | |
| 12948 | |
| 12949 | |
| 12950 | |
| 12951 | |
| 12952 | |
| 12953 | if testscip-shell system . . test. "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then |
| 12954 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 |
| 12955 | printfscip-shell system . . printf. %s "checking for working strerror function... " >&6; } |
| 12956 | if ${gl_cv_func_working_strerror+:} false; then : |
| 12957 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 12958 | else |
| 12959 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 12960 | case "$host_os" in |
| 12961 | # Guess yes on glibc systems. |
| 12962 | *-gnu*) gl_cv_func_working_strerror="guessing yes" ;; |
| 12963 | # If we don't know, assume the worst. |
| 12964 | *) gl_cv_func_working_strerror="guessing no" ;; |
| 12965 | esac |
| 12966 | |
| 12967 | else |
| 12968 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 12969 | /* end confdefs.h. */ |
| 12970 | #include <string.h> |
| 12971 | |
| 12972 | int |
| 12973 | main () |
| 12974 | { |
| 12975 | if (!*strerror (-2)) return 1; |
| 12976 | ; |
| 12977 | return 0; |
| 12978 | } |
| 12979 | _ACEOF |
| 12980 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 12981 | gl_cv_func_working_strerror=yes |
| 12982 | else |
| 12983 | gl_cv_func_working_strerror=no |
| 12984 | fi |
| 12985 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 12986 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 12987 | fi |
| 12988 | |
| 12989 | |
| 12990 | fi |
| 12991 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 |
| 12992 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_working_strerror" >&6; } |
| 12993 | case "$gl_cv_func_working_strerror" in |
| 12994 | *yes) ;; |
| 12995 | *) |
| 12996 | REPLACE_STRERROR=1 |
| 12997 | ;; |
| 12998 | esac |
| 12999 | |
| 13000 | else |
| 13001 | REPLACE_STRERROR=1 |
| 13002 | fi |
| 13003 | |
| 13004 | if testscip-shell system . . test. $REPLACE_STRERROR = 1; then |
| 13005 | |
| 13006 | |
| 13007 | |
| 13008 | |
| 13009 | |
| 13010 | |
| 13011 | |
| 13012 | |
| 13013 | gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" |
| 13014 | |
| 13015 | fi |
| 13016 | |
| 13017 | |
| 13018 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13019 | #define GNULIB_STRERROR 1 |
| 13020 | _ACEOF |
| 13021 | |
| 13022 | |
| 13023 | |
| 13024 | |
| 13025 | |
| 13026 | |
| 13027 | |
| 13028 | GNULIB_STRERROR=1 |
| 13029 | |
| 13030 | |
| 13031 | |
| 13032 | |
| 13033 | |
| 13034 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_TEST_STRERROR 1" >>confdefs.h |
| 13035 | |
| 13036 | |
| 13037 | |
| 13038 | |
| 13039 | |
| 13040 | if testscip-shell system . . test. -n "$ERRNO_H" || testscip-shell system . . test. $REPLACE_STRERROR_0 = 1; then |
| 13041 | |
| 13042 | |
| 13043 | |
| 13044 | |
| 13045 | |
| 13046 | |
| 13047 | |
| 13048 | |
| 13049 | gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext" |
| 13050 | |
| 13051 | |
| 13052 | |
| 13053 | |
| 13054 | |
| 13055 | if testscip-shell system . . test. $ac_cv_header_sys_socket_h != yes; then |
| 13056 | for ac_header in winsock2.h |
| 13057 | do : |
| 13058 | ac_fn_c_check_header_mongrelscip-shell shell cppi 1.18-6 ac_fn_c_check_header_mongrel(). "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" |
| 13059 | if testscip-shell system . . test. "x$ac_cv_header_winsock2_h" = xyes; then : |
| 13060 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13061 | #define HAVE_WINSOCK2_H 1 |
| 13062 | _ACEOF |
| 13063 | |
| 13064 | fi |
| 13065 | |
| 13066 | done |
| 13067 | |
| 13068 | fi |
| 13069 | if testscip-shell system . . test. "$ac_cv_header_winsock2_h" = yes; then |
| 13070 | HAVE_WINSOCK2_H=1 |
| 13071 | UNISTD_H_HAVE_WINSOCK2_H=1 |
| 13072 | SYS_IOCTL_H_HAVE_WINSOCK2_H=1 |
| 13073 | else |
| 13074 | HAVE_WINSOCK2_H=0 |
| 13075 | fi |
| 13076 | |
| 13077 | |
| 13078 | fi |
| 13079 | |
| 13080 | |
| 13081 | |
| 13082 | |
| 13083 | |
| 13084 | |
| 13085 | |
| 13086 | |
| 13087 | : |
| 13088 | |
| 13089 | |
| 13090 | |
| 13091 | |
| 13092 | |
| 13093 | |
| 13094 | |
| 13095 | |
| 13096 | |
| 13097 | |
| 13098 | |
| 13099 | |
| 13100 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 13101 | gl_cv_next_unistd_h='<'unistd.h'>' |
| 13102 | else |
| 13103 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5 |
| 13104 | printfscip-shell system . . printf. %s "checking absolute name of <unistd.h>... " >&6; } |
| 13105 | if ${gl_cv_next_unistd_h+:} false; then : |
| 13106 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13107 | else |
| 13108 | |
| 13109 | if testscip-shell system . . test. $ac_cv_header_unistd_h = yes; then |
| 13110 | |
| 13111 | |
| 13112 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13113 | /* end confdefs.h. */ |
| 13114 | #include <unistd.h> |
| 13115 | |
| 13116 | _ACEOF |
| 13117 | case "$host_os" in |
| 13118 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 13119 | *) gl_absname_cpp="$ac_cpp" ;; |
| 13120 | esac |
| 13121 | |
| 13122 | case "$host_os" in |
| 13123 | mingw*) |
| 13124 | gl_dirsep_regex='[/\\]' |
| 13125 | ;; |
| 13126 | *) |
| 13127 | gl_dirsep_regex='\/' |
| 13128 | ;; |
| 13129 | esac |
| 13130 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 13131 | |
| 13132 | gl_header_literal_regex=`echoscip-shell system . . echo. 'unistd.h' \ |
| 13133 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 13134 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 13135 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 13136 | s|^/[^/]|//&| |
| 13137 | p |
| 13138 | q |
| 13139 | }' |
| 13140 | gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 13141 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 13142 | else |
| 13143 | gl_cv_next_unistd_h='<'unistd.h'>' |
| 13144 | fi |
| 13145 | |
| 13146 | |
| 13147 | fi |
| 13148 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 |
| 13149 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_unistd_h" >&6; } |
| 13150 | fi |
| 13151 | NEXT_UNISTD_H=$gl_cv_next_unistd_h |
| 13152 | |
| 13153 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 13154 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 13155 | gl_next_as_first_directive='<'unistd.h'>' |
| 13156 | else |
| 13157 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 13158 | gl_next_as_first_directive=$gl_cv_next_unistd_h |
| 13159 | fi |
| 13160 | NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive |
| 13161 | |
| 13162 | |
| 13163 | |
| 13164 | |
| 13165 | if testscip-shell system . . test. $ac_cv_header_unistd_h = yes; then |
| 13166 | HAVE_UNISTD_H=1 |
| 13167 | else |
| 13168 | HAVE_UNISTD_H=0 |
| 13169 | fi |
| 13170 | |
| 13171 | |
| 13172 | |
| 13173 | |
| 13174 | |
| 13175 | |
| 13176 | |
| 13177 | for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do |
| 13178 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 13179 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 13180 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 13181 | if eval \${$as_gl_Symbol+:} false; then : |
| 13182 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13183 | else |
| 13184 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13185 | /* end confdefs.h. */ |
| 13186 | |
| 13187 | #if HAVE_UNISTD_H |
| 13188 | # include <unistd.h> |
| 13189 | #endif |
| 13190 | /* Some systems declare various items in the wrong headers. */ |
| 13191 | #if !(defined __GLIBC__ && !defined __UCLIBC__) |
| 13192 | # include <fcntl.h> |
| 13193 | # include <stdio.h> |
| 13194 | # include <stdlib.h> |
| 13195 | # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ |
| 13196 | # include <io.h> |
| 13197 | # endif |
| 13198 | #endif |
| 13199 | |
| 13200 | int |
| 13201 | main () |
| 13202 | { |
| 13203 | #undef $gl_func |
| 13204 | (void) $gl_func; |
| 13205 | ; |
| 13206 | return 0; |
| 13207 | } |
| 13208 | _ACEOF |
| 13209 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13210 | eval "$as_gl_Symbol=yes" |
| 13211 | else |
| 13212 | eval "$as_gl_Symbol=no" |
| 13213 | fi |
| 13214 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13215 | fi |
| 13216 | eval ac_res=\$$as_gl_Symbol |
| 13217 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13218 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 13219 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 13220 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13221 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 13222 | _ACEOF |
| 13223 | |
| 13224 | eval ac_cv_have_decl_$gl_func=yes |
| 13225 | fi |
| 13226 | done |
| 13227 | |
| 13228 | |
| 13229 | |
| 13230 | |
| 13231 | printfscip-shell system . . printf. "%s\n" "#define USE_UNLOCKED_IO 1" >>confdefs.h |
| 13232 | |
| 13233 | |
| 13234 | |
| 13235 | |
| 13236 | |
| 13237 | |
| 13238 | |
| 13239 | |
| 13240 | |
| 13241 | |
| 13242 | |
| 13243 | |
| 13244 | |
| 13245 | |
| 13246 | |
| 13247 | |
| 13248 | |
| 13249 | |
| 13250 | |
| 13251 | # Check whether --with-packager was given. |
| 13252 | if testscip-shell system . . test. "${with_packager+set}" = set; then : |
| 13253 | withval=$with_packager; case $withval in |
| 13254 | yes|no) ;; |
| 13255 | *) |
| 13256 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13257 | #define PACKAGE_PACKAGER "$withval" |
| 13258 | _ACEOF |
| 13259 | ;; |
| 13260 | esac |
| 13261 | |
| 13262 | fi |
| 13263 | |
| 13264 | |
| 13265 | |
| 13266 | # Check whether --with-packager-version was given. |
| 13267 | if testscip-shell system . . test. "${with_packager_version+set}" = set; then : |
| 13268 | withval=$with_packager_version; case $withval in |
| 13269 | yes|no) ;; |
| 13270 | *) |
| 13271 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13272 | #define PACKAGE_PACKAGER_VERSION "$withval" |
| 13273 | _ACEOF |
| 13274 | ;; |
| 13275 | esac |
| 13276 | |
| 13277 | fi |
| 13278 | |
| 13279 | |
| 13280 | |
| 13281 | # Check whether --with-packager-bug-reports was given. |
| 13282 | if testscip-shell system . . test. "${with_packager_bug_reports+set}" = set; then : |
| 13283 | withval=$with_packager_bug_reports; case $withval in |
| 13284 | yes|no) ;; |
| 13285 | *) |
| 13286 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13287 | #define PACKAGE_PACKAGER_BUG_REPORTS "$withval" |
| 13288 | _ACEOF |
| 13289 | ;; |
| 13290 | esac |
| 13291 | |
| 13292 | fi |
| 13293 | |
| 13294 | |
| 13295 | if testscip-shell system . . test. "X$with_packager" = "X" && \ |
| 13296 | test "X$with_packager_version$with_packager_bug_reports" != "X" |
| 13297 | then |
| 13298 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "The --with-packager-{bug-reports,version} options require --with-packager" "$LINENO" 5 |
| 13299 | fi |
| 13300 | |
| 13301 | |
| 13302 | |
| 13303 | |
| 13304 | |
| 13305 | |
| 13306 | |
| 13307 | |
| 13308 | |
| 13309 | |
| 13310 | |
| 13311 | |
| 13312 | |
| 13313 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 13314 | gl_cv_next_wchar_h='<'wchar.h'>' |
| 13315 | else |
| 13316 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5 |
| 13317 | printfscip-shell system . . printf. %s "checking absolute name of <wchar.h>... " >&6; } |
| 13318 | if ${gl_cv_next_wchar_h+:} false; then : |
| 13319 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13320 | else |
| 13321 | |
| 13322 | if testscip-shell system . . test. $ac_cv_header_wchar_h = yes; then |
| 13323 | |
| 13324 | |
| 13325 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13326 | /* end confdefs.h. */ |
| 13327 | #include <wchar.h> |
| 13328 | |
| 13329 | _ACEOF |
| 13330 | case "$host_os" in |
| 13331 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 13332 | *) gl_absname_cpp="$ac_cpp" ;; |
| 13333 | esac |
| 13334 | |
| 13335 | case "$host_os" in |
| 13336 | mingw*) |
| 13337 | gl_dirsep_regex='[/\\]' |
| 13338 | ;; |
| 13339 | *) |
| 13340 | gl_dirsep_regex='\/' |
| 13341 | ;; |
| 13342 | esac |
| 13343 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 13344 | |
| 13345 | gl_header_literal_regex=`echoscip-shell system . . echo. 'wchar.h' \ |
| 13346 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 13347 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 13348 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 13349 | s|^/[^/]|//&| |
| 13350 | p |
| 13351 | q |
| 13352 | }' |
| 13353 | gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 13354 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 13355 | else |
| 13356 | gl_cv_next_wchar_h='<'wchar.h'>' |
| 13357 | fi |
| 13358 | |
| 13359 | |
| 13360 | fi |
| 13361 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 |
| 13362 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_wchar_h" >&6; } |
| 13363 | fi |
| 13364 | NEXT_WCHAR_H=$gl_cv_next_wchar_h |
| 13365 | |
| 13366 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 13367 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 13368 | gl_next_as_first_directive='<'wchar.h'>' |
| 13369 | else |
| 13370 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 13371 | gl_next_as_first_directive=$gl_cv_next_wchar_h |
| 13372 | fi |
| 13373 | NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive |
| 13374 | |
| 13375 | |
| 13376 | |
| 13377 | |
| 13378 | if testscip-shell system . . test. $ac_cv_header_wchar_h = yes; then |
| 13379 | HAVE_WCHAR_H=1 |
| 13380 | else |
| 13381 | HAVE_WCHAR_H=0 |
| 13382 | fi |
| 13383 | |
| 13384 | |
| 13385 | |
| 13386 | |
| 13387 | |
| 13388 | if testscip-shell system . . test. $gt_cv_c_wint_t = yes; then |
| 13389 | HAVE_WINT_T=1 |
| 13390 | else |
| 13391 | HAVE_WINT_T=0 |
| 13392 | fi |
| 13393 | |
| 13394 | |
| 13395 | |
| 13396 | for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb wcsrtombs wcsnrtombs wcwidth wmemchr wmemcmp wmemcpy wmemmove wmemset wcslen wcsnlen wcscpy wcpcpy wcsncpy wcpncpy wcscat wcsncat wcscmp wcsncmp wcscasecmp wcsncasecmp wcscoll wcsxfrm wcsdup wcschr wcsrchr wcscspn wcsspn wcspbrk wcsstr wcstok wcswidth ; do |
| 13397 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 13398 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 13399 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 13400 | if eval \${$as_gl_Symbol+:} false; then : |
| 13401 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13402 | else |
| 13403 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13404 | /* end confdefs.h. */ |
| 13405 | |
| 13406 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 13407 | <wchar.h>. |
| 13408 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 13409 | included before <wchar.h>. */ |
| 13410 | #if !(defined __GLIBC__ && !defined __UCLIBC__) |
| 13411 | # include <stddef.h> |
| 13412 | # include <stdio.h> |
| 13413 | # include <time.h> |
| 13414 | #endif |
| 13415 | #include <wchar.h> |
| 13416 | |
| 13417 | int |
| 13418 | main () |
| 13419 | { |
| 13420 | #undef $gl_func |
| 13421 | (void) $gl_func; |
| 13422 | ; |
| 13423 | return 0; |
| 13424 | } |
| 13425 | _ACEOF |
| 13426 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13427 | eval "$as_gl_Symbol=yes" |
| 13428 | else |
| 13429 | eval "$as_gl_Symbol=no" |
| 13430 | fi |
| 13431 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13432 | fi |
| 13433 | eval ac_res=\$$as_gl_Symbol |
| 13434 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13435 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 13436 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 13437 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13438 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 13439 | _ACEOF |
| 13440 | |
| 13441 | eval ac_cv_have_decl_$gl_func=yes |
| 13442 | fi |
| 13443 | done |
| 13444 | |
| 13445 | |
| 13446 | |
| 13447 | |
| 13448 | |
| 13449 | |
| 13450 | |
| 13451 | if testscip-shell system . . test. $ac_cv_func_iswcntrl = yes; then |
| 13452 | HAVE_ISWCNTRL=1 |
| 13453 | else |
| 13454 | HAVE_ISWCNTRL=0 |
| 13455 | fi |
| 13456 | |
| 13457 | |
| 13458 | |
| 13459 | if testscip-shell system . . test. $gt_cv_c_wint_t = yes; then |
| 13460 | HAVE_WINT_T=1 |
| 13461 | else |
| 13462 | HAVE_WINT_T=0 |
| 13463 | fi |
| 13464 | |
| 13465 | |
| 13466 | |
| 13467 | |
| 13468 | |
| 13469 | |
| 13470 | |
| 13471 | |
| 13472 | |
| 13473 | |
| 13474 | |
| 13475 | if testscip-shell system . . test. $gl_cv_have_include_next = yes; then |
| 13476 | gl_cv_next_wctype_h='<'wctype.h'>' |
| 13477 | else |
| 13478 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking absolute name of <wctype.h>" >&5 |
| 13479 | printfscip-shell system . . printf. %s "checking absolute name of <wctype.h>... " >&6; } |
| 13480 | if ${gl_cv_next_wctype_h+:} false; then : |
| 13481 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13482 | else |
| 13483 | |
| 13484 | if testscip-shell system . . test. $ac_cv_header_wctype_h = yes; then |
| 13485 | |
| 13486 | |
| 13487 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13488 | /* end confdefs.h. */ |
| 13489 | #include <wctype.h> |
| 13490 | |
| 13491 | _ACEOF |
| 13492 | case "$host_os" in |
| 13493 | aix*) gl_absname_cpp="$ac_cpp -C" ;; |
| 13494 | *) gl_absname_cpp="$ac_cpp" ;; |
| 13495 | esac |
| 13496 | |
| 13497 | case "$host_os" in |
| 13498 | mingw*) |
| 13499 | gl_dirsep_regex='[/\\]' |
| 13500 | ;; |
| 13501 | *) |
| 13502 | gl_dirsep_regex='\/' |
| 13503 | ;; |
| 13504 | esac |
| 13505 | gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' |
| 13506 | |
| 13507 | gl_header_literal_regex=`echoscip-shell system . . echo. 'wctype.h' \ |
| 13508 | | sedscip-shell system . . sed. -e "$gl_make_literal_regex_sed"` |
| 13509 | gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ |
| 13510 | s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ |
| 13511 | s|^/[^/]|//&| |
| 13512 | p |
| 13513 | q |
| 13514 | }' |
| 13515 | gl_cv_next_wctype_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | |
| 13516 | sedscip-shell system . . sed. -n "$gl_absolute_header_sed"`'"' |
| 13517 | else |
| 13518 | gl_cv_next_wctype_h='<'wctype.h'>' |
| 13519 | fi |
| 13520 | |
| 13521 | |
| 13522 | fi |
| 13523 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wctype_h" >&5 |
| 13524 | printfscip-shell system . . printf. "%s\n" "$gl_cv_next_wctype_h" >&6; } |
| 13525 | fi |
| 13526 | NEXT_WCTYPE_H=$gl_cv_next_wctype_h |
| 13527 | |
| 13528 | if testscip-shell system . . test. $gl_cv_have_include_next = yes || testscip-shell system . . test. $gl_cv_have_include_next = buggy; then |
| 13529 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' |
| 13530 | gl_next_as_first_directive='<'wctype.h'>' |
| 13531 | else |
| 13532 | # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' |
| 13533 | gl_next_as_first_directive=$gl_cv_next_wctype_h |
| 13534 | fi |
| 13535 | NEXT_AS_FIRST_DIRECTIVE_WCTYPE_H=$gl_next_as_first_directive |
| 13536 | |
| 13537 | |
| 13538 | |
| 13539 | |
| 13540 | if testscip-shell system . . test. $ac_cv_header_wctype_h = yes; then |
| 13541 | if testscip-shell system . . test. $ac_cv_func_iswcntrl = yes; then |
| 13542 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether iswcntrl works" >&5 |
| 13543 | printfscip-shell system . . printf. %s "checking whether iswcntrl works... " >&6; } |
| 13544 | if ${gl_cv_func_iswcntrl_works+:} false; then : |
| 13545 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13546 | else |
| 13547 | |
| 13548 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 13549 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13550 | /* end confdefs.h. */ |
| 13551 | #include <stdlib.h> |
| 13552 | #if __GNU_LIBRARY__ == 1 |
| 13553 | Linux libc5 i18n is broken. |
| 13554 | #endif |
| 13555 | int |
| 13556 | main () |
| 13557 | { |
| 13558 | |
| 13559 | ; |
| 13560 | return 0; |
| 13561 | } |
| 13562 | _ACEOF |
| 13563 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13564 | gl_cv_func_iswcntrl_works="guessing yes" |
| 13565 | else |
| 13566 | gl_cv_func_iswcntrl_works="guessing no" |
| 13567 | fi |
| 13568 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13569 | |
| 13570 | else |
| 13571 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13572 | /* end confdefs.h. */ |
| 13573 | |
| 13574 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be |
| 13575 | included before <wchar.h>. |
| 13576 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> |
| 13577 | must be included before <wchar.h>. */ |
| 13578 | #include <stddef.h> |
| 13579 | #include <stdio.h> |
| 13580 | #include <time.h> |
| 13581 | #include <wchar.h> |
| 13582 | #include <wctype.h> |
| 13583 | int main () { return iswprint ('x') == 0; } |
| 13584 | |
| 13585 | _ACEOF |
| 13586 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 13587 | gl_cv_func_iswcntrl_works=yes |
| 13588 | else |
| 13589 | gl_cv_func_iswcntrl_works=no |
| 13590 | fi |
| 13591 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13592 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13593 | fi |
| 13594 | |
| 13595 | |
| 13596 | fi |
| 13597 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_iswcntrl_works" >&5 |
| 13598 | printfscip-shell system . . printf. "%s\n" "$gl_cv_func_iswcntrl_works" >&6; } |
| 13599 | fi |
| 13600 | HAVE_WCTYPE_H=1 |
| 13601 | else |
| 13602 | HAVE_WCTYPE_H=0 |
| 13603 | fi |
| 13604 | |
| 13605 | |
| 13606 | case "$gl_cv_func_iswcntrl_works" in |
| 13607 | *yes) REPLACE_ISWCNTRL=0 ;; |
| 13608 | *) REPLACE_ISWCNTRL=1 ;; |
| 13609 | esac |
| 13610 | |
| 13611 | |
| 13612 | if testscip-shell system . . test. $HAVE_ISWCNTRL = 0 || testscip-shell system . . test. $REPLACE_ISWCNTRL = 1; then |
| 13613 | : |
| 13614 | fi |
| 13615 | |
| 13616 | if testscip-shell system . . test. $REPLACE_ISWCNTRL = 1; then |
| 13617 | REPLACE_TOWLOWER=1 |
| 13618 | else |
| 13619 | for ac_func in towlower |
| 13620 | do : |
| 13621 | ac_fn_c_check_funcscip-shell shell cppi 1.18-6 ac_fn_c_check_func(). "$LINENO" "towlower" "ac_cv_func_towlower" |
| 13622 | if testscip-shell system . . test. "x$ac_cv_func_towlower" = xyes; then : |
| 13623 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13624 | #define HAVE_TOWLOWER 1 |
| 13625 | _ACEOF |
| 13626 | |
| 13627 | fi |
| 13628 | done |
| 13629 | |
| 13630 | if testscip-shell system . . test. $ac_cv_func_towlower = yes; then |
| 13631 | REPLACE_TOWLOWER=0 |
| 13632 | else |
| 13633 | ac_fn_c_check_declscip-shell shell cppi 1.18-6 ac_fn_c_check_decl(). "$LINENO" "towlower" "ac_cv_have_decl_towlower" "/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be |
| 13634 | included before <wchar.h>. |
| 13635 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> |
| 13636 | must be included before <wchar.h>. */ |
| 13637 | #include <stddef.h> |
| 13638 | #include <stdio.h> |
| 13639 | #include <time.h> |
| 13640 | #include <wchar.h> |
| 13641 | #if HAVE_WCTYPE_H |
| 13642 | # include <wctype.h> |
| 13643 | #endif |
| 13644 | |
| 13645 | " |
| 13646 | if testscip-shell system . . test. "x$ac_cv_have_decl_towlower" = xyes; then : |
| 13647 | ac_have_decl=1 |
| 13648 | else |
| 13649 | ac_have_decl=0 |
| 13650 | fi |
| 13651 | |
| 13652 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13653 | #define HAVE_DECL_TOWLOWER $ac_have_decl |
| 13654 | _ACEOF |
| 13655 | |
| 13656 | if testscip-shell system . . test. $ac_cv_have_decl_towlower = yes; then |
| 13657 | REPLACE_TOWLOWER=1 |
| 13658 | else |
| 13659 | REPLACE_TOWLOWER=0 |
| 13660 | fi |
| 13661 | fi |
| 13662 | fi |
| 13663 | |
| 13664 | |
| 13665 | if testscip-shell system . . test. $HAVE_ISWCNTRL = 0 || testscip-shell system . . test. $REPLACE_TOWLOWER = 1; then |
| 13666 | : |
| 13667 | fi |
| 13668 | |
| 13669 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctype_t" >&5 |
| 13670 | printfscip-shell system . . printf. %s "checking for wctype_t... " >&6; } |
| 13671 | if ${gl_cv_type_wctype_t+:} false; then : |
| 13672 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13673 | else |
| 13674 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13675 | /* end confdefs.h. */ |
| 13676 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be |
| 13677 | included before <wchar.h>. |
| 13678 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> |
| 13679 | must be included before <wchar.h>. */ |
| 13680 | #include <stddef.h> |
| 13681 | #include <stdio.h> |
| 13682 | #include <time.h> |
| 13683 | #include <wchar.h> |
| 13684 | #if HAVE_WCTYPE_H |
| 13685 | # include <wctype.h> |
| 13686 | #endif |
| 13687 | wctype_t a; |
| 13688 | |
| 13689 | int |
| 13690 | main () |
| 13691 | { |
| 13692 | |
| 13693 | ; |
| 13694 | return 0; |
| 13695 | } |
| 13696 | _ACEOF |
| 13697 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13698 | gl_cv_type_wctype_t=yes |
| 13699 | else |
| 13700 | gl_cv_type_wctype_t=no |
| 13701 | fi |
| 13702 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13703 | |
| 13704 | fi |
| 13705 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctype_t" >&5 |
| 13706 | printfscip-shell system . . printf. "%s\n" "$gl_cv_type_wctype_t" >&6; } |
| 13707 | if testscip-shell system . . test. $gl_cv_type_wctype_t = no; then |
| 13708 | HAVE_WCTYPE_T=0 |
| 13709 | fi |
| 13710 | |
| 13711 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wctrans_t" >&5 |
| 13712 | printfscip-shell system . . printf. %s "checking for wctrans_t... " >&6; } |
| 13713 | if ${gl_cv_type_wctrans_t+:} false; then : |
| 13714 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13715 | else |
| 13716 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13717 | /* end confdefs.h. */ |
| 13718 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be |
| 13719 | included before <wchar.h>. |
| 13720 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> |
| 13721 | must be included before <wchar.h>. */ |
| 13722 | #include <stddef.h> |
| 13723 | #include <stdio.h> |
| 13724 | #include <time.h> |
| 13725 | #include <wchar.h> |
| 13726 | #include <wctype.h> |
| 13727 | wctrans_t a; |
| 13728 | |
| 13729 | int |
| 13730 | main () |
| 13731 | { |
| 13732 | |
| 13733 | ; |
| 13734 | return 0; |
| 13735 | } |
| 13736 | _ACEOF |
| 13737 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13738 | gl_cv_type_wctrans_t=yes |
| 13739 | else |
| 13740 | gl_cv_type_wctrans_t=no |
| 13741 | fi |
| 13742 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13743 | |
| 13744 | fi |
| 13745 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_wctrans_t" >&5 |
| 13746 | printfscip-shell system . . printf. "%s\n" "$gl_cv_type_wctrans_t" >&6; } |
| 13747 | if testscip-shell system . . test. $gl_cv_type_wctrans_t = no; then |
| 13748 | HAVE_WCTRANS_T=0 |
| 13749 | fi |
| 13750 | |
| 13751 | |
| 13752 | for gl_func in wctype iswctype wctrans towctrans ; do |
| 13753 | as_gl_Symbol=`printfscip-shell system . . printf. "%s\n" "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` |
| 13754 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 |
| 13755 | printfscip-shell system . . printf. %s "checking whether $gl_func is declared without a macro... " >&6; } |
| 13756 | if eval \${$as_gl_Symbol+:} false; then : |
| 13757 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13758 | else |
| 13759 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13760 | /* end confdefs.h. */ |
| 13761 | |
| 13762 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
| 13763 | <wchar.h>. |
| 13764 | BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be |
| 13765 | included before <wchar.h>. */ |
| 13766 | #if !(defined __GLIBC__ && !defined __UCLIBC__) |
| 13767 | # include <stddef.h> |
| 13768 | # include <stdio.h> |
| 13769 | # include <time.h> |
| 13770 | # include <wchar.h> |
| 13771 | #endif |
| 13772 | #include <wctype.h> |
| 13773 | |
| 13774 | int |
| 13775 | main () |
| 13776 | { |
| 13777 | #undef $gl_func |
| 13778 | (void) $gl_func; |
| 13779 | ; |
| 13780 | return 0; |
| 13781 | } |
| 13782 | _ACEOF |
| 13783 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13784 | eval "$as_gl_Symbol=yes" |
| 13785 | else |
| 13786 | eval "$as_gl_Symbol=no" |
| 13787 | fi |
| 13788 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13789 | fi |
| 13790 | eval ac_res=\$$as_gl_Symbol |
| 13791 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 13792 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 13793 | if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : |
| 13794 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 13795 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 |
| 13796 | _ACEOF |
| 13797 | |
| 13798 | eval ac_cv_have_decl_$gl_func=yes |
| 13799 | fi |
| 13800 | done |
| 13801 | |
| 13802 | |
| 13803 | : |
| 13804 | |
| 13805 | : |
| 13806 | |
| 13807 | # End of code from modules |
| 13808 | |
| 13809 | |
| 13810 | |
| 13811 | |
| 13812 | |
| 13813 | |
| 13814 | |
| 13815 | |
| 13816 | |
| 13817 | gltests_libdeps= |
| 13818 | gltests_ltlibdeps= |
| 13819 | |
| 13820 | |
| 13821 | |
| 13822 | |
| 13823 | |
| 13824 | |
| 13825 | |
| 13826 | |
| 13827 | |
| 13828 | gl_source_base='tests' |
| 13829 | gltests_WITNESS=IN_`echoscip-shell system . . echo. "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C trscip-shell system . . tr. abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sedscip-shell system . . sed. -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS |
| 13830 | |
| 13831 | gl_module_indicator_condition=$gltests_WITNESS |
| 13832 | |
| 13833 | |
| 13834 | |
| 13835 | |
| 13836 | |
| 13837 | |
| 13838 | |
| 13839 | |
| 13840 | |
| 13841 | LIBCPPI_LIBDEPS="$gl_libdeps" |
| 13842 | |
| 13843 | LIBCPPI_LTLIBDEPS="$gl_ltlibdeps" |
| 13844 | |
| 13845 | |
| 13846 | |
| 13847 | # Check whether --enable-gcc-warnings was given. |
| 13848 | if testscip-shell system . . test. "${enable_gcc_warnings+set}" = set; then : |
| 13849 | enableval=$enable_gcc_warnings; case $enableval in |
| 13850 | yes|no) ;; |
| 13851 | *) as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;; |
| 13852 | esac |
| 13853 | gl_gcc_warnings=$enableval |
| 13854 | else |
| 13855 | if testscip-shell system . . test. -d "$srcdir"/.git; then |
| 13856 | gl_gcc_warnings=yes |
| 13857 | else |
| 13858 | gl_gcc_warnings=no |
| 13859 | fi |
| 13860 | |
| 13861 | fi |
| 13862 | |
| 13863 | |
| 13864 | if testscip-shell system . . test. "$gl_gcc_warnings" = yes; then |
| 13865 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Werror" >&5 |
| 13866 | printfscip-shell system . . printf. %s "checking whether C compiler handles -Werror... " >&6; } |
| 13867 | if ${gl_cv_warn_c__Werror+:} false; then : |
| 13868 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13869 | else |
| 13870 | |
| 13871 | gl_save_compiler_FLAGS="$CFLAGS" |
| 13872 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -Werror" |
| 13873 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13874 | /* end confdefs.h. */ |
| 13875 | |
| 13876 | int |
| 13877 | main () |
| 13878 | { |
| 13879 | |
| 13880 | ; |
| 13881 | return 0; |
| 13882 | } |
| 13883 | _ACEOF |
| 13884 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13885 | gl_cv_warn_c__Werror=yes |
| 13886 | else |
| 13887 | gl_cv_warn_c__Werror=no |
| 13888 | fi |
| 13889 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13890 | CFLAGS="$gl_save_compiler_FLAGS" |
| 13891 | |
| 13892 | fi |
| 13893 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Werror" >&5 |
| 13894 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__Werror" >&6; } |
| 13895 | if testscip-shell system . . test. "x$gl_cv_warn_c__Werror" = xyes; then : |
| 13896 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WERROR_CFLAGS " -Werror" |
| 13897 | fi |
| 13898 | |
| 13899 | |
| 13900 | |
| 13901 | |
| 13902 | # Add many warnings, except some... |
| 13903 | nw="$nw -Wdeclaration-after-statement" # too useful to forbid |
| 13904 | nw="$nw -Waggregate-return" # anachronistic |
| 13905 | nw="$nw -Wlong-long" # C90 is anachronistic |
| 13906 | nw="$nw -Wc++-compat" # We don't care about C++ compilers |
| 13907 | nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib |
| 13908 | nw="$nw -Wtraditional" # Warns on #elif which we use often |
| 13909 | nw="$nw -Wcast-qual" # Too many warnings for now |
| 13910 | nw="$nw -Wconversion" # Too many warnings for now |
| 13911 | nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings |
| 13912 | nw="$nw -Wsign-conversion" # Too many warnings for now |
| 13913 | nw="$nw -Wtraditional-conversion" # Too many warnings for now |
| 13914 | nw="$nw -Wunreachable-code" # Too many false positives |
| 13915 | nw="$nw -Wpadded" # Our structs are not padded |
| 13916 | nw="$nw -Wredundant-decls" # warnings in flex-generated code (isatty) |
| 13917 | nw="$nw -Wlogical-op" # any use of fwrite provokes this |
| 13918 | nw="$nw -Wvla" # warnings in gettext.h |
| 13919 | nw="$nw -Wswitch-default" # Too many warnings for now |
| 13920 | nw="$nw -Wformat-y2k" # Too many warnings for now |
| 13921 | nw="$nw -Wunused-macros" # warnings in flex-generated code |
| 13922 | nw="$nw -Wstrict-prototypes" # warnings in gperf-generated code |
| 13923 | nw="$nw -Wmissing-noreturn" # warning in flex-generated code yy_fatal_error |
| 13924 | |
| 13925 | |
| 13926 | if testscip-shell system . . test. -n "$GCC"; then |
| 13927 | |
| 13928 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5 |
| 13929 | printfscip-shell system . . printf. %s "checking whether -Wno-missing-field-initializers is supported... " >&6; } |
| 13930 | if ${gl_cv_cc_nomfi_supported+:} false; then : |
| 13931 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13932 | else |
| 13933 | |
| 13934 | gl_save_CFLAGS="$CFLAGS" |
| 13935 | CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers" |
| 13936 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13937 | /* end confdefs.h. */ |
| 13938 | |
| 13939 | int |
| 13940 | main () |
| 13941 | { |
| 13942 | |
| 13943 | ; |
| 13944 | return 0; |
| 13945 | } |
| 13946 | _ACEOF |
| 13947 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13948 | gl_cv_cc_nomfi_supported=yes |
| 13949 | else |
| 13950 | gl_cv_cc_nomfi_supported=no |
| 13951 | fi |
| 13952 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13953 | CFLAGS="$gl_save_CFLAGS" |
| 13954 | fi |
| 13955 | |
| 13956 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5 |
| 13957 | printfscip-shell system . . printf. "%s\n" "$gl_cv_cc_nomfi_supported" >&6; } |
| 13958 | |
| 13959 | if testscip-shell system . . test. "$gl_cv_cc_nomfi_supported" = yes; then |
| 13960 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5 |
| 13961 | printfscip-shell system . . printf. %s "checking whether -Wno-missing-field-initializers is needed... " >&6; } |
| 13962 | if ${gl_cv_cc_nomfi_needed+:} false; then : |
| 13963 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 13964 | else |
| 13965 | |
| 13966 | gl_save_CFLAGS="$CFLAGS" |
| 13967 | CFLAGS="$CFLAGS -W -Werror" |
| 13968 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13969 | /* end confdefs.h. */ |
| 13970 | void f (void) |
| 13971 | { |
| 13972 | typedef struct { int a; int b; } s_t; |
| 13973 | s_t s1 = { 0, }; |
| 13974 | } |
| 13975 | |
| 13976 | int |
| 13977 | main () |
| 13978 | { |
| 13979 | |
| 13980 | ; |
| 13981 | return 0; |
| 13982 | } |
| 13983 | _ACEOF |
| 13984 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 13985 | gl_cv_cc_nomfi_needed=no |
| 13986 | else |
| 13987 | gl_cv_cc_nomfi_needed=yes |
| 13988 | fi |
| 13989 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13990 | CFLAGS="$gl_save_CFLAGS" |
| 13991 | |
| 13992 | fi |
| 13993 | |
| 13994 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5 |
| 13995 | printfscip-shell system . . printf. "%s\n" "$gl_cv_cc_nomfi_needed" >&6; } |
| 13996 | fi |
| 13997 | |
| 13998 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wuninitialized is supported" >&5 |
| 13999 | printfscip-shell system . . printf. %s "checking whether -Wuninitialized is supported... " >&6; } |
| 14000 | if ${gl_cv_cc_uninitialized_supported+:} false; then : |
| 14001 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14002 | else |
| 14003 | |
| 14004 | gl_save_CFLAGS="$CFLAGS" |
| 14005 | CFLAGS="$CFLAGS -Werror -Wuninitialized" |
| 14006 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14007 | /* end confdefs.h. */ |
| 14008 | |
| 14009 | int |
| 14010 | main () |
| 14011 | { |
| 14012 | |
| 14013 | ; |
| 14014 | return 0; |
| 14015 | } |
| 14016 | _ACEOF |
| 14017 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14018 | gl_cv_cc_uninitialized_supported=yes |
| 14019 | else |
| 14020 | gl_cv_cc_uninitialized_supported=no |
| 14021 | fi |
| 14022 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14023 | CFLAGS="$gl_save_CFLAGS" |
| 14024 | fi |
| 14025 | |
| 14026 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_uninitialized_supported" >&5 |
| 14027 | printfscip-shell system . . printf. "%s\n" "$gl_cv_cc_uninitialized_supported" >&6; } |
| 14028 | |
| 14029 | fi |
| 14030 | |
| 14031 | # List all gcc warning categories. |
| 14032 | gl_manywarn_set= |
| 14033 | for gl_manywarn_item in \ |
| 14034 | -W \ |
| 14035 | -Wabi \ |
| 14036 | -Waddress \ |
| 14037 | -Wall \ |
| 14038 | -Warray-bounds \ |
| 14039 | -Wattributes \ |
| 14040 | -Wbad-function-cast \ |
| 14041 | -Wbuiltin-macro-redefined \ |
| 14042 | -Wcast-align \ |
| 14043 | -Wchar-subscripts \ |
| 14044 | -Wclobbered \ |
| 14045 | -Wcomment \ |
| 14046 | -Wcomments \ |
| 14047 | -Wcoverage-mismatch \ |
| 14048 | -Wcpp \ |
| 14049 | -Wdeprecated \ |
| 14050 | -Wdeprecated-declarations \ |
| 14051 | -Wdisabled-optimization \ |
| 14052 | -Wdiv-by-zero \ |
| 14053 | -Wdouble-promotion \ |
| 14054 | -Wempty-body \ |
| 14055 | -Wendif-labels \ |
| 14056 | -Wenum-compare \ |
| 14057 | -Wextra \ |
| 14058 | -Wformat-contains-nul \ |
| 14059 | -Wformat-extra-args \ |
| 14060 | -Wformat-nonliteral \ |
| 14061 | -Wformat-security \ |
| 14062 | -Wformat-y2k \ |
| 14063 | -Wformat-zero-length \ |
| 14064 | -Wformat=2 \ |
| 14065 | -Wfree-nonheap-object \ |
| 14066 | -Wignored-qualifiers \ |
| 14067 | -Wimplicit \ |
| 14068 | -Wimplicit-function-declaration \ |
| 14069 | -Wimplicit-int \ |
| 14070 | -Winit-self \ |
| 14071 | -Winline \ |
| 14072 | -Wint-to-pointer-cast \ |
| 14073 | -Winvalid-memory-model \ |
| 14074 | -Winvalid-pch \ |
| 14075 | -Wjump-misses-init \ |
| 14076 | -Wlogical-op \ |
| 14077 | -Wmain \ |
| 14078 | -Wmaybe-uninitialized \ |
| 14079 | -Wmissing-braces \ |
| 14080 | -Wmissing-declarations \ |
| 14081 | -Wmissing-field-initializers \ |
| 14082 | -Wmissing-format-attribute \ |
| 14083 | -Wmissing-include-dirs \ |
| 14084 | -Wmissing-noreturn \ |
| 14085 | -Wmissing-parameter-type \ |
| 14086 | -Wmissing-prototypes \ |
| 14087 | -Wmudflap \ |
| 14088 | -Wmultichar \ |
| 14089 | -Wnarrowing \ |
| 14090 | -Wnested-externs \ |
| 14091 | -Wnonnull \ |
| 14092 | -Wnormalized=nfc \ |
| 14093 | -Wold-style-declaration \ |
| 14094 | -Wold-style-definition \ |
| 14095 | -Woverflow \ |
| 14096 | -Woverlength-strings \ |
| 14097 | -Woverride-init \ |
| 14098 | -Wpacked \ |
| 14099 | -Wpacked-bitfield-compat \ |
| 14100 | -Wparentheses \ |
| 14101 | -Wpointer-arith \ |
| 14102 | -Wpointer-sign \ |
| 14103 | -Wpointer-to-int-cast \ |
| 14104 | -Wpragmas \ |
| 14105 | -Wreturn-type \ |
| 14106 | -Wsequence-point \ |
| 14107 | -Wshadow \ |
| 14108 | -Wsizeof-pointer-memaccess \ |
| 14109 | -Wstack-protector \ |
| 14110 | -Wstrict-aliasing \ |
| 14111 | -Wstrict-overflow \ |
| 14112 | -Wstrict-prototypes \ |
| 14113 | -Wsuggest-attribute=const \ |
| 14114 | -Wsuggest-attribute=format \ |
| 14115 | -Wsuggest-attribute=noreturn \ |
| 14116 | -Wsuggest-attribute=pure \ |
| 14117 | -Wswitch \ |
| 14118 | -Wswitch-default \ |
| 14119 | -Wsync-nand \ |
| 14120 | -Wsystem-headers \ |
| 14121 | -Wtrampolines \ |
| 14122 | -Wtrigraphs \ |
| 14123 | -Wtype-limits \ |
| 14124 | -Wuninitialized \ |
| 14125 | -Wunknown-pragmas \ |
| 14126 | -Wunreachable-code \ |
| 14127 | -Wunsafe-loop-optimizations \ |
| 14128 | -Wunused \ |
| 14129 | -Wunused-but-set-parameter \ |
| 14130 | -Wunused-but-set-variable \ |
| 14131 | -Wunused-function \ |
| 14132 | -Wunused-label \ |
| 14133 | -Wunused-local-typedefs \ |
| 14134 | -Wunused-macros \ |
| 14135 | -Wunused-parameter \ |
| 14136 | -Wunused-result \ |
| 14137 | -Wunused-value \ |
| 14138 | -Wunused-variable \ |
| 14139 | -Wvarargs \ |
| 14140 | -Wvariadic-macros \ |
| 14141 | -Wvector-operation-performance \ |
| 14142 | -Wvla \ |
| 14143 | -Wvolatile-register-var \ |
| 14144 | -Wwrite-strings \ |
| 14145 | \ |
| 14146 | ; do |
| 14147 | gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item" |
| 14148 | done |
| 14149 | |
| 14150 | # Disable specific options as needed. |
| 14151 | if testscip-shell system . . test. "$gl_cv_cc_nomfi_needed" = yes; then |
| 14152 | gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers" |
| 14153 | fi |
| 14154 | |
| 14155 | if testscip-shell system . . test. "$gl_cv_cc_uninitialized_supported" = no; then |
| 14156 | gl_manywarn_set="$gl_manywarn_set -Wno-uninitialized" |
| 14157 | fi |
| 14158 | |
| 14159 | ws=$gl_manywarn_set |
| 14160 | |
| 14161 | |
| 14162 | gl_warn_set= |
| 14163 | set x $ws; shift |
| 14164 | for gl_warn_item |
| 14165 | do |
| 14166 | case " $nw " in |
| 14167 | *" $gl_warn_item "*) |
| 14168 | ;; |
| 14169 | *) |
| 14170 | gl_warn_set="$gl_warn_set $gl_warn_item" |
| 14171 | ;; |
| 14172 | esac |
| 14173 | done |
| 14174 | ws=$gl_warn_set |
| 14175 | |
| 14176 | for w in $ws; do |
| 14177 | as_gl_Warn=`printfscip-shell system . . printf. "%s\n" "gl_cv_warn_c_$w" | $as_tr_sh` |
| 14178 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles $w" >&5 |
| 14179 | printfscip-shell system . . printf. %s "checking whether C compiler handles $w... " >&6; } |
| 14180 | if eval \${$as_gl_Warn+:} false; then : |
| 14181 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14182 | else |
| 14183 | |
| 14184 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14185 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " $w" |
| 14186 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14187 | /* end confdefs.h. */ |
| 14188 | |
| 14189 | int |
| 14190 | main () |
| 14191 | { |
| 14192 | |
| 14193 | ; |
| 14194 | return 0; |
| 14195 | } |
| 14196 | _ACEOF |
| 14197 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14198 | eval "$as_gl_Warn=yes" |
| 14199 | else |
| 14200 | eval "$as_gl_Warn=no" |
| 14201 | fi |
| 14202 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14203 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14204 | |
| 14205 | fi |
| 14206 | eval ac_res=\$$as_gl_Warn |
| 14207 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14208 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 14209 | if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then : |
| 14210 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " $w" |
| 14211 | fi |
| 14212 | |
| 14213 | |
| 14214 | done |
| 14215 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-missing-field-initializers" >&5 |
| 14216 | printfscip-shell system . . printf. %s "checking whether C compiler handles -Wno-missing-field-initializers... " >&6; } |
| 14217 | if ${gl_cv_warn_c__Wno_missing_field_initializers+:} false; then : |
| 14218 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14219 | else |
| 14220 | |
| 14221 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14222 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -Wno-missing-field-initializers" |
| 14223 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14224 | /* end confdefs.h. */ |
| 14225 | |
| 14226 | int |
| 14227 | main () |
| 14228 | { |
| 14229 | |
| 14230 | ; |
| 14231 | return 0; |
| 14232 | } |
| 14233 | _ACEOF |
| 14234 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14235 | gl_cv_warn_c__Wno_missing_field_initializers=yes |
| 14236 | else |
| 14237 | gl_cv_warn_c__Wno_missing_field_initializers=no |
| 14238 | fi |
| 14239 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14240 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14241 | |
| 14242 | fi |
| 14243 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_missing_field_initializers" >&5 |
| 14244 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__Wno_missing_field_initializers" >&6; } |
| 14245 | if testscip-shell system . . test. "x$gl_cv_warn_c__Wno_missing_field_initializers" = xyes; then : |
| 14246 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " -Wno-missing-field-initializers" |
| 14247 | fi |
| 14248 | |
| 14249 | # We need this one |
| 14250 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-sign-compare" >&5 |
| 14251 | printfscip-shell system . . printf. %s "checking whether C compiler handles -Wno-sign-compare... " >&6; } |
| 14252 | if ${gl_cv_warn_c__Wno_sign_compare+:} false; then : |
| 14253 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14254 | else |
| 14255 | |
| 14256 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14257 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -Wno-sign-compare" |
| 14258 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14259 | /* end confdefs.h. */ |
| 14260 | |
| 14261 | int |
| 14262 | main () |
| 14263 | { |
| 14264 | |
| 14265 | ; |
| 14266 | return 0; |
| 14267 | } |
| 14268 | _ACEOF |
| 14269 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14270 | gl_cv_warn_c__Wno_sign_compare=yes |
| 14271 | else |
| 14272 | gl_cv_warn_c__Wno_sign_compare=no |
| 14273 | fi |
| 14274 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14275 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14276 | |
| 14277 | fi |
| 14278 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_sign_compare" >&5 |
| 14279 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__Wno_sign_compare" >&6; } |
| 14280 | if testscip-shell system . . test. "x$gl_cv_warn_c__Wno_sign_compare" = xyes; then : |
| 14281 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " -Wno-sign-compare" |
| 14282 | fi |
| 14283 | |
| 14284 | # Too many warnings for now |
| 14285 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-pointer-sign" >&5 |
| 14286 | printfscip-shell system . . printf. %s "checking whether C compiler handles -Wno-pointer-sign... " >&6; } |
| 14287 | if ${gl_cv_warn_c__Wno_pointer_sign+:} false; then : |
| 14288 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14289 | else |
| 14290 | |
| 14291 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14292 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -Wno-pointer-sign" |
| 14293 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14294 | /* end confdefs.h. */ |
| 14295 | |
| 14296 | int |
| 14297 | main () |
| 14298 | { |
| 14299 | |
| 14300 | ; |
| 14301 | return 0; |
| 14302 | } |
| 14303 | _ACEOF |
| 14304 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14305 | gl_cv_warn_c__Wno_pointer_sign=yes |
| 14306 | else |
| 14307 | gl_cv_warn_c__Wno_pointer_sign=no |
| 14308 | fi |
| 14309 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14310 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14311 | |
| 14312 | fi |
| 14313 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_pointer_sign" >&5 |
| 14314 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__Wno_pointer_sign" >&6; } |
| 14315 | if testscip-shell system . . test. "x$gl_cv_warn_c__Wno_pointer_sign" = xyes; then : |
| 14316 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " -Wno-pointer-sign" |
| 14317 | fi |
| 14318 | |
| 14319 | # Too many warnings for now |
| 14320 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -Wno-unused-parameter" >&5 |
| 14321 | printfscip-shell system . . printf. %s "checking whether C compiler handles -Wno-unused-parameter... " >&6; } |
| 14322 | if ${gl_cv_warn_c__Wno_unused_parameter+:} false; then : |
| 14323 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14324 | else |
| 14325 | |
| 14326 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14327 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -Wno-unused-parameter" |
| 14328 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14329 | /* end confdefs.h. */ |
| 14330 | |
| 14331 | int |
| 14332 | main () |
| 14333 | { |
| 14334 | |
| 14335 | ; |
| 14336 | return 0; |
| 14337 | } |
| 14338 | _ACEOF |
| 14339 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14340 | gl_cv_warn_c__Wno_unused_parameter=yes |
| 14341 | else |
| 14342 | gl_cv_warn_c__Wno_unused_parameter=no |
| 14343 | fi |
| 14344 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14345 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14346 | |
| 14347 | fi |
| 14348 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__Wno_unused_parameter" >&5 |
| 14349 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__Wno_unused_parameter" >&6; } |
| 14350 | if testscip-shell system . . test. "x$gl_cv_warn_c__Wno_unused_parameter" = xyes; then : |
| 14351 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " -Wno-unused-parameter" |
| 14352 | fi |
| 14353 | |
| 14354 | # Too many warnings for now |
| 14355 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler handles -fdiagnostics-show-option" >&5 |
| 14356 | printfscip-shell system . . printf. %s "checking whether C compiler handles -fdiagnostics-show-option... " >&6; } |
| 14357 | if ${gl_cv_warn_c__fdiagnostics_show_option+:} false; then : |
| 14358 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14359 | else |
| 14360 | |
| 14361 | gl_save_compiler_FLAGS="$CFLAGS" |
| 14362 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). CFLAGS " -fdiagnostics-show-option" |
| 14363 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14364 | /* end confdefs.h. */ |
| 14365 | |
| 14366 | int |
| 14367 | main () |
| 14368 | { |
| 14369 | |
| 14370 | ; |
| 14371 | return 0; |
| 14372 | } |
| 14373 | _ACEOF |
| 14374 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14375 | gl_cv_warn_c__fdiagnostics_show_option=yes |
| 14376 | else |
| 14377 | gl_cv_warn_c__fdiagnostics_show_option=no |
| 14378 | fi |
| 14379 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14380 | CFLAGS="$gl_save_compiler_FLAGS" |
| 14381 | |
| 14382 | fi |
| 14383 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn_c__fdiagnostics_show_option" >&5 |
| 14384 | printfscip-shell system . . printf. "%s\n" "$gl_cv_warn_c__fdiagnostics_show_option" >&6; } |
| 14385 | if testscip-shell system . . test. "x$gl_cv_warn_c__fdiagnostics_show_option" = xyes; then : |
| 14386 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). WARN_CFLAGS " -fdiagnostics-show-option" |
| 14387 | fi |
| 14388 | |
| 14389 | |
| 14390 | |
| 14391 | |
| 14392 | |
| 14393 | |
| 14394 | printfscip-shell system . . printf. "%s\n" "#define lint 1" >>confdefs.h |
| 14395 | |
| 14396 | |
| 14397 | |
| 14398 | printfscip-shell system . . printf. "%s\n" "#define GNULIB_PORTCHECK 1" >>confdefs.h |
| 14399 | |
| 14400 | fi |
| 14401 | |
| 14402 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
| 14403 | printfscip-shell system . . printf. %s "checking for inline... " >&6; } |
| 14404 | if ${ac_cv_c_inline+:} false; then : |
| 14405 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14406 | else |
| 14407 | ac_cv_c_inline=no |
| 14408 | for ac_kw in inline __inline__ __inline; do |
| 14409 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14410 | /* end confdefs.h. */ |
| 14411 | #ifndef __cplusplus |
| 14412 | typedef int foo_t; |
| 14413 | static $ac_kw foo_t static_foo () {return 0; } |
| 14414 | $ac_kw foo_t foo () {return 0; } |
| 14415 | #endif |
| 14416 | |
| 14417 | _ACEOF |
| 14418 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14419 | ac_cv_c_inline=$ac_kw |
| 14420 | fi |
| 14421 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14422 | testscip-shell system . . test. "$ac_cv_c_inline" != no && break |
| 14423 | done |
| 14424 | |
| 14425 | fi |
| 14426 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
| 14427 | printfscip-shell system . . printf. "%s\n" "$ac_cv_c_inline" >&6; } |
| 14428 | |
| 14429 | case $ac_cv_c_inline in |
| 14430 | inline | yes) ;; |
| 14431 | *) |
| 14432 | case $ac_cv_c_inline in |
| 14433 | no) ac_val=;; |
| 14434 | *) ac_val=$ac_cv_c_inline;; |
| 14435 | esac |
| 14436 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 14437 | #ifndef __cplusplus |
| 14438 | #define inline $ac_val |
| 14439 | #endif |
| 14440 | _ACEOF |
| 14441 | ;; |
| 14442 | esac |
| 14443 | |
| 14444 | ac_header_dirent=no |
| 14445 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
| 14446 | as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
| 14447 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
| 14448 | printfscip-shell system . . printf. %s "checking for $ac_hdr that defines DIR... " >&6; } |
| 14449 | if eval \${$as_ac_Header+:} false; then : |
| 14450 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14451 | else |
| 14452 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14453 | /* end confdefs.h. */ |
| 14454 | #include <sys/types.h> |
| 14455 | #include <$ac_hdr> |
| 14456 | |
| 14457 | int |
| 14458 | main () |
| 14459 | { |
| 14460 | if ((DIR *) 0) |
| 14461 | return 0; |
| 14462 | ; |
| 14463 | return 0; |
| 14464 | } |
| 14465 | _ACEOF |
| 14466 | if ac_fn_c_try_compilescip-shell shell cppi 1.18-6 ac_fn_c_try_compile(). "$LINENO"; then : |
| 14467 | eval "$as_ac_Header=yes" |
| 14468 | else |
| 14469 | eval "$as_ac_Header=no" |
| 14470 | fi |
| 14471 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14472 | fi |
| 14473 | eval ac_res=\$$as_ac_Header |
| 14474 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 14475 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 14476 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 14477 | catscip-shell system . . cat. >>confdefs.h <<_ACEOF |
| 14478 | #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
| 14479 | _ACEOF |
| 14480 | |
| 14481 | ac_header_dirent=$ac_hdr; break |
| 14482 | fi |
| 14483 | |
| 14484 | done |
| 14485 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 14486 | if testscip-shell system . . test. $ac_header_dirent = dirent.h; then |
| 14487 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 14488 | printfscip-shell system . . printf. %s "checking for library containing opendir... " >&6; } |
| 14489 | if ${ac_cv_search_opendir+:} false; then : |
| 14490 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14491 | else |
| 14492 | ac_func_search_save_LIBS=$LIBS |
| 14493 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14494 | /* end confdefs.h. */ |
| 14495 | |
| 14496 | /* Override any GCC internal prototype to avoid an error. |
| 14497 | Use char because int might match the return type of a GCC |
| 14498 | builtin and then its argument prototype would still apply. */ |
| 14499 | #ifdef __cplusplus |
| 14500 | extern "C" |
| 14501 | #endif |
| 14502 | char opendir (); |
| 14503 | int |
| 14504 | main () |
| 14505 | { |
| 14506 | return opendir (); |
| 14507 | ; |
| 14508 | return 0; |
| 14509 | } |
| 14510 | _ACEOF |
| 14511 | for ac_lib in '' dir; do |
| 14512 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 14513 | ac_res="none required" |
| 14514 | else |
| 14515 | ac_res=-l$ac_lib |
| 14516 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14517 | fi |
| 14518 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 14519 | ac_cv_search_opendir=$ac_res |
| 14520 | fi |
| 14521 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 14522 | conftest$ac_exeext |
| 14523 | if ${ac_cv_search_opendir+:} false; then : |
| 14524 | break |
| 14525 | fi |
| 14526 | done |
| 14527 | if ${ac_cv_search_opendir+:} false; then : |
| 14528 | |
| 14529 | else |
| 14530 | ac_cv_search_opendir=no |
| 14531 | fi |
| 14532 | rmscip-shell system . . rm. conftest.$ac_ext |
| 14533 | LIBS=$ac_func_search_save_LIBS |
| 14534 | fi |
| 14535 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 14536 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_opendir" >&6; } |
| 14537 | ac_res=$ac_cv_search_opendir |
| 14538 | if testscip-shell system . . test. "$ac_res" != no; then : |
| 14539 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14540 | |
| 14541 | fi |
| 14542 | |
| 14543 | else |
| 14544 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 14545 | printfscip-shell system . . printf. %s "checking for library containing opendir... " >&6; } |
| 14546 | if ${ac_cv_search_opendir+:} false; then : |
| 14547 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14548 | else |
| 14549 | ac_func_search_save_LIBS=$LIBS |
| 14550 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14551 | /* end confdefs.h. */ |
| 14552 | |
| 14553 | /* Override any GCC internal prototype to avoid an error. |
| 14554 | Use char because int might match the return type of a GCC |
| 14555 | builtin and then its argument prototype would still apply. */ |
| 14556 | #ifdef __cplusplus |
| 14557 | extern "C" |
| 14558 | #endif |
| 14559 | char opendir (); |
| 14560 | int |
| 14561 | main () |
| 14562 | { |
| 14563 | return opendir (); |
| 14564 | ; |
| 14565 | return 0; |
| 14566 | } |
| 14567 | _ACEOF |
| 14568 | for ac_lib in '' x; do |
| 14569 | if testscip-shell system . . test. -z "$ac_lib"; then |
| 14570 | ac_res="none required" |
| 14571 | else |
| 14572 | ac_res=-l$ac_lib |
| 14573 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 14574 | fi |
| 14575 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 14576 | ac_cv_search_opendir=$ac_res |
| 14577 | fi |
| 14578 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 14579 | conftest$ac_exeext |
| 14580 | if ${ac_cv_search_opendir+:} false; then : |
| 14581 | break |
| 14582 | fi |
| 14583 | done |
| 14584 | if ${ac_cv_search_opendir+:} false; then : |
| 14585 | |
| 14586 | else |
| 14587 | ac_cv_search_opendir=no |
| 14588 | fi |
| 14589 | rmscip-shell system . . rm. conftest.$ac_ext |
| 14590 | LIBS=$ac_func_search_save_LIBS |
| 14591 | fi |
| 14592 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 14593 | printfscip-shell system . . printf. "%s\n" "$ac_cv_search_opendir" >&6; } |
| 14594 | ac_res=$ac_cv_search_opendir |
| 14595 | if testscip-shell system . . test. "$ac_res" != no; then : |
| 14596 | testscip-shell system . . test. "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 14597 | |
| 14598 | fi |
| 14599 | |
| 14600 | fi |
| 14601 | |
| 14602 | |
| 14603 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5 |
| 14604 | printfscip-shell system . . printf. %s "checking whether to enable assertions... " >&6; } |
| 14605 | # Check whether --enable-assert was given. |
| 14606 | if testscip-shell system . . test. "${enable_assert+set}" = set; then : |
| 14607 | enableval=$enable_assert; ac_enable_assert=$enableval |
| 14608 | if testscip-shell system . . test. "x$enableval" = xno; then : |
| 14609 | |
| 14610 | printfscip-shell system . . printf. "%s\n" "#define NDEBUG 1" >>confdefs.h |
| 14611 | |
| 14612 | elif testscip-shell system . . test. "x$enableval" != xyes; then : |
| 14613 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5 |
| 14614 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;} |
| 14615 | ac_enable_assert=yes |
| 14616 | fi |
| 14617 | else |
| 14618 | ac_enable_assert=yes |
| 14619 | fi |
| 14620 | |
| 14621 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5 |
| 14622 | printfscip-shell system . . printf. "%s\n" "$ac_enable_assert" >&6; } |
| 14623 | |
| 14624 | |
| 14625 | mkdir_p='$(MKDIR_P)' |
| 14626 | |
| 14627 | |
| 14628 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
| 14629 | printfscip-shell system . . printf. %s "checking whether NLS is requested... " >&6; } |
| 14630 | # Check whether --enable-nls was given. |
| 14631 | if testscip-shell system . . test. "${enable_nls+set}" = set; then : |
| 14632 | enableval=$enable_nls; USE_NLS=$enableval |
| 14633 | else |
| 14634 | USE_NLS=yes |
| 14635 | fi |
| 14636 | |
| 14637 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 14638 | printfscip-shell system . . printf. "%s\n" "$USE_NLS" >&6; } |
| 14639 | |
| 14640 | |
| 14641 | |
| 14642 | |
| 14643 | GETTEXT_MACRO_VERSION=0.18 |
| 14644 | |
| 14645 | |
| 14646 | |
| 14647 | |
| 14648 | # Prepare PATH_SEPARATOR. |
| 14649 | # The user is always right. |
| 14650 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 14651 | echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh |
| 14652 | echoscip-shell system . . echo. "exit 0" >>conf$$.sh |
| 14653 | chmodscip-shell system . . chmod. +x conf$$.sh |
| 14654 | if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14655 | PATH_SEPARATOR=';' |
| 14656 | else |
| 14657 | PATH_SEPARATOR=: |
| 14658 | fi |
| 14659 | rmscip-shell system . . rm. -f conf$$.sh |
| 14660 | fi |
| 14661 | |
| 14662 | # Find out how to test for executable files. Don't use a zero-byte file, |
| 14663 | # as systems may use methods other than mode bits to determine executability. |
| 14664 | catscip-shell system . . cat. >conf$$.file <<_ASEOF |
| 14665 | #! /bin/sh |
| 14666 | exit 0 |
| 14667 | _ASEOF |
| 14668 | chmodscip-shell system . . chmod. +x conf$$.file |
| 14669 | if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14670 | ac_executable_p="test -x" |
| 14671 | else |
| 14672 | ac_executable_p="test -f" |
| 14673 | fi |
| 14674 | rmscip-shell system . . rm. -f conf$$.file |
| 14675 | |
| 14676 | # Extract the first word of "msgfmt", so it can be a program name with args. |
| 14677 | set dummy msgfmt; ac_word=$2 |
| 14678 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14679 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 14680 | if ${ac_cv_path_MSGFMT+:} false; then : |
| 14681 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14682 | else |
| 14683 | case "$MSGFMT" in |
| 14684 | [\\/]* | ?:[\\/]*) |
| 14685 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
| 14686 | ;; |
| 14687 | *) |
| 14688 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 14689 | for ac_dir in $PATH; do |
| 14690 | IFS="$ac_save_IFS" |
| 14691 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 14692 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14693 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 14694 | echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 14695 | if $ac_dir/$ac_word --statistics /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1 && |
| 14696 | (if $ac_dir/$ac_word --statistics /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. usage >/dev/nullscip-shell filesystem . . `/dev/null`.; then exit 1; else exit 0; fi); then |
| 14697 | ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
| 14698 | break 2 |
| 14699 | fi |
| 14700 | fi |
| 14701 | done |
| 14702 | done |
| 14703 | IFS="$ac_save_IFS" |
| 14704 | testscip-shell system . . test. -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
| 14705 | ;; |
| 14706 | esac |
| 14707 | fi |
| 14708 | MSGFMT="$ac_cv_path_MSGFMT" |
| 14709 | if testscip-shell system . . test. "$MSGFMT" != ":"; then |
| 14710 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
| 14711 | printfscip-shell system . . printf. "%s\n" "$MSGFMT" >&6; } |
| 14712 | else |
| 14713 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14714 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 14715 | fi |
| 14716 | |
| 14717 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
| 14718 | set dummy gmsgfmt; ac_word=$2 |
| 14719 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14720 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 14721 | if ${ac_cv_path_GMSGFMT+:} false; then : |
| 14722 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14723 | else |
| 14724 | case $GMSGFMT in |
| 14725 | [\\/]* | ?:[\\/]*) |
| 14726 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
| 14727 | ;; |
| 14728 | *) |
| 14729 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 14730 | for as_dir in $PATH |
| 14731 | do |
| 14732 | IFS=$as_save_IFS |
| 14733 | case $as_dir in #((( |
| 14734 | '') as_dir=./ ;; |
| 14735 | */) ;; |
| 14736 | *) as_dir=$as_dir/ ;; |
| 14737 | esac |
| 14738 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14739 | if as_fn_executable_pscip-shell shell cppi 1.18-6 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then |
| 14740 | ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" |
| 14741 | printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 14742 | break 2 |
| 14743 | fi |
| 14744 | done |
| 14745 | done |
| 14746 | IFS=$as_save_IFS |
| 14747 | |
| 14748 | testscip-shell system . . test. -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
| 14749 | ;; |
| 14750 | esac |
| 14751 | fi |
| 14752 | GMSGFMT=$ac_cv_path_GMSGFMT |
| 14753 | if testscip-shell system . . test. -n "$GMSGFMT"; then |
| 14754 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
| 14755 | printfscip-shell system . . printf. "%s\n" "$GMSGFMT" >&6; } |
| 14756 | else |
| 14757 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14758 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 14759 | fi |
| 14760 | |
| 14761 | |
| 14762 | |
| 14763 | case `$MSGFMT --version | sedscip-shell system . . sed. 1q | sedscip-shell system . . sed. -e 's,^[^0-9]*,,'` in |
| 14764 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
| 14765 | *) MSGFMT_015=$MSGFMT ;; |
| 14766 | esac |
| 14767 | |
| 14768 | case `$GMSGFMT --version | sedscip-shell system . . sed. 1q | sedscip-shell system . . sed. -e 's,^[^0-9]*,,'` in |
| 14769 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
| 14770 | *) GMSGFMT_015=$GMSGFMT ;; |
| 14771 | esac |
| 14772 | |
| 14773 | |
| 14774 | |
| 14775 | # Prepare PATH_SEPARATOR. |
| 14776 | # The user is always right. |
| 14777 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 14778 | echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh |
| 14779 | echoscip-shell system . . echo. "exit 0" >>conf$$.sh |
| 14780 | chmodscip-shell system . . chmod. +x conf$$.sh |
| 14781 | if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14782 | PATH_SEPARATOR=';' |
| 14783 | else |
| 14784 | PATH_SEPARATOR=: |
| 14785 | fi |
| 14786 | rmscip-shell system . . rm. -f conf$$.sh |
| 14787 | fi |
| 14788 | |
| 14789 | # Find out how to test for executable files. Don't use a zero-byte file, |
| 14790 | # as systems may use methods other than mode bits to determine executability. |
| 14791 | catscip-shell system . . cat. >conf$$.file <<_ASEOF |
| 14792 | #! /bin/sh |
| 14793 | exit 0 |
| 14794 | _ASEOF |
| 14795 | chmodscip-shell system . . chmod. +x conf$$.file |
| 14796 | if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14797 | ac_executable_p="test -x" |
| 14798 | else |
| 14799 | ac_executable_p="test -f" |
| 14800 | fi |
| 14801 | rmscip-shell system . . rm. -f conf$$.file |
| 14802 | |
| 14803 | # Extract the first word of "xgettext", so it can be a program name with args. |
| 14804 | set dummy xgettext; ac_word=$2 |
| 14805 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14806 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 14807 | if ${ac_cv_path_XGETTEXT+:} false; then : |
| 14808 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14809 | else |
| 14810 | case "$XGETTEXT" in |
| 14811 | [\\/]* | ?:[\\/]*) |
| 14812 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
| 14813 | ;; |
| 14814 | *) |
| 14815 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 14816 | for ac_dir in $PATH; do |
| 14817 | IFS="$ac_save_IFS" |
| 14818 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 14819 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14820 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 14821 | echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 14822 | if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1 && |
| 14823 | (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. usage >/dev/nullscip-shell filesystem . . `/dev/null`.; then exit 1; else exit 0; fi); then |
| 14824 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
| 14825 | break 2 |
| 14826 | fi |
| 14827 | fi |
| 14828 | done |
| 14829 | done |
| 14830 | IFS="$ac_save_IFS" |
| 14831 | testscip-shell system . . test. -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
| 14832 | ;; |
| 14833 | esac |
| 14834 | fi |
| 14835 | XGETTEXT="$ac_cv_path_XGETTEXT" |
| 14836 | if testscip-shell system . . test. "$XGETTEXT" != ":"; then |
| 14837 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
| 14838 | printfscip-shell system . . printf. "%s\n" "$XGETTEXT" >&6; } |
| 14839 | else |
| 14840 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14841 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 14842 | fi |
| 14843 | |
| 14844 | rmscip-shell system . . rm. -f messages.po |
| 14845 | |
| 14846 | case `$XGETTEXT --version | sedscip-shell system . . sed. 1q | sedscip-shell system . . sed. -e 's,^[^0-9]*,,'` in |
| 14847 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
| 14848 | *) XGETTEXT_015=$XGETTEXT ;; |
| 14849 | esac |
| 14850 | |
| 14851 | |
| 14852 | |
| 14853 | # Prepare PATH_SEPARATOR. |
| 14854 | # The user is always right. |
| 14855 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 14856 | echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh |
| 14857 | echoscip-shell system . . echo. "exit 0" >>conf$$.sh |
| 14858 | chmodscip-shell system . . chmod. +x conf$$.sh |
| 14859 | if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14860 | PATH_SEPARATOR=';' |
| 14861 | else |
| 14862 | PATH_SEPARATOR=: |
| 14863 | fi |
| 14864 | rmscip-shell system . . rm. -f conf$$.sh |
| 14865 | fi |
| 14866 | |
| 14867 | # Find out how to test for executable files. Don't use a zero-byte file, |
| 14868 | # as systems may use methods other than mode bits to determine executability. |
| 14869 | catscip-shell system . . cat. >conf$$.file <<_ASEOF |
| 14870 | #! /bin/sh |
| 14871 | exit 0 |
| 14872 | _ASEOF |
| 14873 | chmodscip-shell system . . chmod. +x conf$$.file |
| 14874 | if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14875 | ac_executable_p="test -x" |
| 14876 | else |
| 14877 | ac_executable_p="test -f" |
| 14878 | fi |
| 14879 | rmscip-shell system . . rm. -f conf$$.file |
| 14880 | |
| 14881 | # Extract the first word of "msgmerge", so it can be a program name with args. |
| 14882 | set dummy msgmerge; ac_word=$2 |
| 14883 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 14884 | printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; } |
| 14885 | if ${ac_cv_path_MSGMERGE+:} false; then : |
| 14886 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 14887 | else |
| 14888 | case "$MSGMERGE" in |
| 14889 | [\\/]* | ?:[\\/]*) |
| 14890 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
| 14891 | ;; |
| 14892 | *) |
| 14893 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
| 14894 | for ac_dir in $PATH; do |
| 14895 | IFS="$ac_save_IFS" |
| 14896 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 14897 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 14898 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
| 14899 | echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5 |
| 14900 | if $ac_dir/$ac_word --update -q /dev/nullscip-shell filesystem . . `/dev/null`. /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1; then |
| 14901 | ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
| 14902 | break 2 |
| 14903 | fi |
| 14904 | fi |
| 14905 | done |
| 14906 | done |
| 14907 | IFS="$ac_save_IFS" |
| 14908 | testscip-shell system . . test. -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
| 14909 | ;; |
| 14910 | esac |
| 14911 | fi |
| 14912 | MSGMERGE="$ac_cv_path_MSGMERGE" |
| 14913 | if testscip-shell system . . test. "$MSGMERGE" != ":"; then |
| 14914 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
| 14915 | printfscip-shell system . . printf. "%s\n" "$MSGMERGE" >&6; } |
| 14916 | else |
| 14917 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 14918 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 14919 | fi |
| 14920 | |
| 14921 | |
| 14922 | testscip-shell system . . test. -n "$localedir" || localedir='${datadir}/locale' |
| 14923 | |
| 14924 | |
| 14925 | testscip-shell system . . test. -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
| 14926 | |
| 14927 | |
| 14928 | ac_config_commands="$ac_config_commands po-directories" |
| 14929 | |
| 14930 | |
| 14931 | |
| 14932 | if testscip-shell system . . test. "X$prefix" = "XNONE"; then |
| 14933 | acl_final_prefix="$ac_default_prefix" |
| 14934 | else |
| 14935 | acl_final_prefix="$prefix" |
| 14936 | fi |
| 14937 | if testscip-shell system . . test. "X$exec_prefix" = "XNONE"; then |
| 14938 | acl_final_exec_prefix='${prefix}' |
| 14939 | else |
| 14940 | acl_final_exec_prefix="$exec_prefix" |
| 14941 | fi |
| 14942 | acl_save_prefix="$prefix" |
| 14943 | prefix="$acl_final_prefix" |
| 14944 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
| 14945 | prefix="$acl_save_prefix" |
| 14946 | |
| 14947 | |
| 14948 | # Check whether --with-gnu-ld was given. |
| 14949 | if testscip-shell system . . test. "${with_gnu_ld+set}" = set; then : |
| 14950 | withval=$with_gnu_ld; testscip-shell system . . test. "$withval" = no || with_gnu_ld=yes |
| 14951 | else |
| 14952 | with_gnu_ld=no |
| 14953 | fi |
| 14954 | |
| 14955 | # Prepare PATH_SEPARATOR. |
| 14956 | # The user is always right. |
| 14957 | if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then |
| 14958 | echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh |
| 14959 | echoscip-shell system . . echo. "exit 0" >>conf$$.sh |
| 14960 | chmodscip-shell system . . chmod. +x conf$$.sh |
| 14961 | if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 14962 | PATH_SEPARATOR=';' |
| 14963 | else |
| 14964 | PATH_SEPARATOR=: |
| 14965 | fi |
| 14966 | rmscip-shell system . . rm. -f conf$$.sh |
| 14967 | fi |
| 14968 | ac_prog=ld |
| 14969 | if testscip-shell system . . test. "$GCC" = yes; then |
| 14970 | # Check if gcc -print-prog-name=ld gives a path. |
| 14971 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
| 14972 | printfscip-shell system . . printf. %s "checking for ld used by GCC... " >&6; } |
| 14973 | case $host in |
| 14974 | *-*-mingw*) |
| 14975 | # gcc leaves a trailing carriage return which upsets mingw |
| 14976 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;; |
| 14977 | *) |
| 14978 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
| 14979 | esac |
| 14980 | case $ac_prog in |
| 14981 | # Accept absolute paths. |
| 14982 | [\\/]* | [A-Za-z]:[\\/]*) |
| 14983 | re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.' |
| 14984 | # Canonicalize the path of ld |
| 14985 | ac_prog=`echoscip-shell system . . echo. $ac_prog| sedscip-shell system . . sed. 's%\\\\%/%g'` |
| 14986 | while echoscip-shell system . . echo. $ac_prog | grepscip-shell system . . grep. "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do |
| 14987 | ac_prog=`echoscip-shell system . . echo. $ac_prog| sedscip-shell system . . sed. "s%$re_direlt%/%"` |
| 14988 | done |
| 14989 | testscip-shell system . . test. -z "$LD" && LD="$ac_prog" |
| 14990 | ;; |
| 14991 | "") |
| 14992 | # If it fails, then pretend we aren't using GCC. |
| 14993 | ac_prog=ld |
| 14994 | ;; |
| 14995 | *) |
| 14996 | # If it is relative, then search for the first ld in PATH. |
| 14997 | with_gnu_ld=unknown |
| 14998 | ;; |
| 14999 | esac |
| 15000 | elif testscip-shell system . . test. "$with_gnu_ld" = yes; then |
| 15001 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
| 15002 | printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; } |
| 15003 | else |
| 15004 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
| 15005 | printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; } |
| 15006 | fi |
| 15007 | if ${acl_cv_path_LD+:} false; then : |
| 15008 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15009 | else |
| 15010 | if testscip-shell system . . test. -z "$LD"; then |
| 15011 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
| 15012 | for ac_dir in $PATH; do |
| 15013 | testscip-shell system . . test. -z "$ac_dir" && ac_dir=. |
| 15014 | if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 15015 | acl_cv_path_LD="$ac_dir/$ac_prog" |
| 15016 | # Check to see if the program is GNU ld. I'd rather use --version, |
| 15017 | # but apparently some GNU ld's only accept -v. |
| 15018 | # Break only if it was the GNU/non-GNU ld that we prefer. |
| 15019 | case `"$acl_cv_path_LD" -v 2>&1 < /dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 15020 | *GNU* | *'with BFD'*) |
| 15021 | testscip-shell system . . test. "$with_gnu_ld" != no && break ;; |
| 15022 | *) |
| 15023 | testscip-shell system . . test. "$with_gnu_ld" != yes && break ;; |
| 15024 | esac |
| 15025 | fi |
| 15026 | done |
| 15027 | IFS="$ac_save_ifs" |
| 15028 | else |
| 15029 | acl_cv_path_LD="$LD" # Let the user override the test with a path. |
| 15030 | fi |
| 15031 | fi |
| 15032 | |
| 15033 | LD="$acl_cv_path_LD" |
| 15034 | if testscip-shell system . . test. -n "$LD"; then |
| 15035 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
| 15036 | printfscip-shell system . . printf. "%s\n" "$LD" >&6; } |
| 15037 | else |
| 15038 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 15039 | printfscip-shell system . . printf. "%s\n" "no" >&6; } |
| 15040 | fi |
| 15041 | testscip-shell system . . test. -z "$LD" && as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
| 15042 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
| 15043 | printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; } |
| 15044 | if ${acl_cv_prog_gnu_ld+:} false; then : |
| 15045 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15046 | else |
| 15047 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 15048 | case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in |
| 15049 | *GNU* | *'with BFD'*) |
| 15050 | acl_cv_prog_gnu_ld=yes ;; |
| 15051 | *) |
| 15052 | acl_cv_prog_gnu_ld=no ;; |
| 15053 | esac |
| 15054 | fi |
| 15055 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
| 15056 | printfscip-shell system . . printf. "%s\n" "$acl_cv_prog_gnu_ld" >&6; } |
| 15057 | with_gnu_ld=$acl_cv_prog_gnu_ld |
| 15058 | |
| 15059 | |
| 15060 | |
| 15061 | |
| 15062 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
| 15063 | printfscip-shell system . . printf. %s "checking for shared library run path origin... " >&6; } |
| 15064 | if ${acl_cv_rpath+:} false; then : |
| 15065 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15066 | else |
| 15067 | |
| 15068 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
| 15069 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
| 15070 | . ./conftest.shscip-shell source . . `./conftest.sh`. |
| 15071 | rmscip-shell system . . rm. -f ./conftest.sh |
| 15072 | acl_cv_rpath=done |
| 15073 | |
| 15074 | fi |
| 15075 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
| 15076 | printfscip-shell system . . printf. "%s\n" "$acl_cv_rpath" >&6; } |
| 15077 | wl="$acl_cv_wl" |
| 15078 | acl_libext="$acl_cv_libext" |
| 15079 | acl_shlibext="$acl_cv_shlibext" |
| 15080 | acl_libname_spec="$acl_cv_libname_spec" |
| 15081 | acl_library_names_spec="$acl_cv_library_names_spec" |
| 15082 | acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
| 15083 | acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
| 15084 | acl_hardcode_direct="$acl_cv_hardcode_direct" |
| 15085 | acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
| 15086 | # Check whether --enable-rpath was given. |
| 15087 | if testscip-shell system . . test. "${enable_rpath+set}" = set; then : |
| 15088 | enableval=$enable_rpath; : |
| 15089 | else |
| 15090 | enable_rpath=yes |
| 15091 | fi |
| 15092 | |
| 15093 | |
| 15094 | |
| 15095 | |
| 15096 | acl_libdirstem=lib |
| 15097 | acl_libdirstem2= |
| 15098 | case "$host_os" in |
| 15099 | solaris*) |
| 15100 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 |
| 15101 | printfscip-shell system . . printf. %s "checking for 64-bit host... " >&6; } |
| 15102 | if ${gl_cv_solaris_64bit+:} false; then : |
| 15103 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15104 | else |
| 15105 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15106 | /* end confdefs.h. */ |
| 15107 | |
| 15108 | #ifdef _LP64 |
| 15109 | sixtyfour bits |
| 15110 | #endif |
| 15111 | |
| 15112 | _ACEOF |
| 15113 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 15114 | $EGREP "sixtyfour bits" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then : |
| 15115 | gl_cv_solaris_64bit=yes |
| 15116 | else |
| 15117 | gl_cv_solaris_64bit=no |
| 15118 | fi |
| 15119 | rmscip-shell system . . rm. -f conftest* |
| 15120 | |
| 15121 | |
| 15122 | fi |
| 15123 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 |
| 15124 | printfscip-shell system . . printf. "%s\n" "$gl_cv_solaris_64bit" >&6; } |
| 15125 | if testscip-shell system . . test. $gl_cv_solaris_64bit = yes; then |
| 15126 | acl_libdirstem=lib/64 |
| 15127 | case "$host_cpu" in |
| 15128 | sparc*) acl_libdirstem2=lib/sparcv9 ;; |
| 15129 | i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; |
| 15130 | esac |
| 15131 | fi |
| 15132 | ;; |
| 15133 | *) |
| 15134 | searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. -n -e 's,^libraries: ,,p' | sedscip-shell system . . sed. -e 's,^=,,'` |
| 15135 | if testscip-shell system . . test. -n "$searchpath"; then |
| 15136 | acl_save_IFS="${IFS= }"; IFS=":" |
| 15137 | for searchdir in $searchpath; do |
| 15138 | if testscip-shell system . . test. -d "$searchdir"; then |
| 15139 | case "$searchdir" in |
| 15140 | */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
| 15141 | */../ | */.. ) |
| 15142 | # Better ignore directories of this form. They are misleading. |
| 15143 | ;; |
| 15144 | *) searchdir=`cd "$searchdir" && pwdscip-shell system . . pwd.` |
| 15145 | case "$searchdir" in |
| 15146 | */lib64 ) acl_libdirstem=lib64 ;; |
| 15147 | esac ;; |
| 15148 | esac |
| 15149 | fi |
| 15150 | done |
| 15151 | IFS="$acl_save_IFS" |
| 15152 | fi |
| 15153 | ;; |
| 15154 | esac |
| 15155 | testscip-shell system . . test. -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" |
| 15156 | |
| 15157 | |
| 15158 | |
| 15159 | |
| 15160 | |
| 15161 | |
| 15162 | |
| 15163 | |
| 15164 | |
| 15165 | |
| 15166 | |
| 15167 | |
| 15168 | use_additional=yes |
| 15169 | |
| 15170 | acl_save_prefix="$prefix" |
| 15171 | prefix="$acl_final_prefix" |
| 15172 | acl_save_exec_prefix="$exec_prefix" |
| 15173 | exec_prefix="$acl_final_exec_prefix" |
| 15174 | |
| 15175 | eval additional_includedir=\"$includedir\" |
| 15176 | eval additional_libdir=\"$libdir\" |
| 15177 | |
| 15178 | exec_prefix="$acl_save_exec_prefix" |
| 15179 | prefix="$acl_save_prefix" |
| 15180 | |
| 15181 | |
| 15182 | # Check whether --with-libiconv-prefix was given. |
| 15183 | if testscip-shell system . . test. "${with_libiconv_prefix+set}" = set; then : |
| 15184 | withval=$with_libiconv_prefix; |
| 15185 | if testscip-shell system . . test. "X$withval" = "Xno"; then |
| 15186 | use_additional=no |
| 15187 | else |
| 15188 | if testscip-shell system . . test. "X$withval" = "X"; then |
| 15189 | |
| 15190 | acl_save_prefix="$prefix" |
| 15191 | prefix="$acl_final_prefix" |
| 15192 | acl_save_exec_prefix="$exec_prefix" |
| 15193 | exec_prefix="$acl_final_exec_prefix" |
| 15194 | |
| 15195 | eval additional_includedir=\"$includedir\" |
| 15196 | eval additional_libdir=\"$libdir\" |
| 15197 | |
| 15198 | exec_prefix="$acl_save_exec_prefix" |
| 15199 | prefix="$acl_save_prefix" |
| 15200 | |
| 15201 | else |
| 15202 | additional_includedir="$withval/include" |
| 15203 | additional_libdir="$withval/$acl_libdirstem" |
| 15204 | if testscip-shell system . . test. "$acl_libdirstem2" != "$acl_libdirstem" \ |
| 15205 | && ! testscip-shell system . . test. -d "$withval/$acl_libdirstem"; then |
| 15206 | additional_libdir="$withval/$acl_libdirstem2" |
| 15207 | fi |
| 15208 | fi |
| 15209 | fi |
| 15210 | |
| 15211 | fi |
| 15212 | |
| 15213 | LIBICONV= |
| 15214 | LTLIBICONV= |
| 15215 | INCICONV= |
| 15216 | LIBICONV_PREFIX= |
| 15217 | HAVE_LIBICONV= |
| 15218 | rpathdirs= |
| 15219 | ltrpathdirs= |
| 15220 | names_already_handled= |
| 15221 | names_next_round='iconv ' |
| 15222 | while testscip-shell system . . test. -n "$names_next_round"; do |
| 15223 | names_this_round="$names_next_round" |
| 15224 | names_next_round= |
| 15225 | for name in $names_this_round; do |
| 15226 | already_handled= |
| 15227 | for n in $names_already_handled; do |
| 15228 | if testscip-shell system . . test. "$n" = "$name"; then |
| 15229 | already_handled=yes |
| 15230 | break |
| 15231 | fi |
| 15232 | done |
| 15233 | if testscip-shell system . . test. -z "$already_handled"; then |
| 15234 | names_already_handled="$names_already_handled $name" |
| 15235 | uppername=`echoscip-shell system . . echo. "$name" | sedscip-shell system . . sed. -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
| 15236 | eval value=\"\$HAVE_LIB$uppername\" |
| 15237 | if testscip-shell system . . test. -n "$value"; then |
| 15238 | if testscip-shell system . . test. "$value" = yes; then |
| 15239 | eval value=\"\$LIB$uppername\" |
| 15240 | testscip-shell system . . test. -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
| 15241 | eval value=\"\$LTLIB$uppername\" |
| 15242 | testscip-shell system . . test. -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
| 15243 | else |
| 15244 | : |
| 15245 | fi |
| 15246 | else |
| 15247 | found_dir= |
| 15248 | found_la= |
| 15249 | found_so= |
| 15250 | found_a= |
| 15251 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 15252 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 15253 | shrext=".$acl_shlibext" # typically: shrext=.so |
| 15254 | else |
| 15255 | shrext= |
| 15256 | fi |
| 15257 | if testscip-shell system . . test. $use_additional = yes; then |
| 15258 | dir="$additional_libdir" |
| 15259 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 15260 | if testscip-shell system . . test. -f "$dir/$libname$shrext"; then |
| 15261 | found_dir="$dir" |
| 15262 | found_so="$dir/$libname$shrext" |
| 15263 | else |
| 15264 | if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 15265 | ver=`(cd "$dir" && \ |
| 15266 | for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \ |
| 15267 | | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \ |
| 15268 | | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 15269 | | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 15270 | if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver"; then |
| 15271 | found_dir="$dir" |
| 15272 | found_so="$dir/$libname$shrext.$ver" |
| 15273 | fi |
| 15274 | else |
| 15275 | eval library_names=\"$acl_library_names_spec\" |
| 15276 | for f in $library_names; do |
| 15277 | if testscip-shell system . . test. -f "$dir/$f"; then |
| 15278 | found_dir="$dir" |
| 15279 | found_so="$dir/$f" |
| 15280 | break |
| 15281 | fi |
| 15282 | done |
| 15283 | fi |
| 15284 | fi |
| 15285 | fi |
| 15286 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 15287 | if testscip-shell system . . test. -f "$dir/$libname.$acl_libext"; then |
| 15288 | found_dir="$dir" |
| 15289 | found_a="$dir/$libname.$acl_libext" |
| 15290 | fi |
| 15291 | fi |
| 15292 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 15293 | if testscip-shell system . . test. -f "$dir/$libname.la"; then |
| 15294 | found_la="$dir/$libname.la" |
| 15295 | fi |
| 15296 | fi |
| 15297 | fi |
| 15298 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 15299 | for x in $LDFLAGS $LTLIBICONV; do |
| 15300 | |
| 15301 | acl_save_prefix="$prefix" |
| 15302 | prefix="$acl_final_prefix" |
| 15303 | acl_save_exec_prefix="$exec_prefix" |
| 15304 | exec_prefix="$acl_final_exec_prefix" |
| 15305 | eval x=\"$x\" |
| 15306 | exec_prefix="$acl_save_exec_prefix" |
| 15307 | prefix="$acl_save_prefix" |
| 15308 | |
| 15309 | case "$x" in |
| 15310 | -L*) |
| 15311 | dir=`echoscip-shell system . . echo. "X$x" | sedscip-shell system . . sed. -e 's/^X-L//'` |
| 15312 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 15313 | if testscip-shell system . . test. -f "$dir/$libname$shrext"; then |
| 15314 | found_dir="$dir" |
| 15315 | found_so="$dir/$libname$shrext" |
| 15316 | else |
| 15317 | if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 15318 | ver=`(cd "$dir" && \ |
| 15319 | for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \ |
| 15320 | | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \ |
| 15321 | | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 15322 | | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 15323 | if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver"; then |
| 15324 | found_dir="$dir" |
| 15325 | found_so="$dir/$libname$shrext.$ver" |
| 15326 | fi |
| 15327 | else |
| 15328 | eval library_names=\"$acl_library_names_spec\" |
| 15329 | for f in $library_names; do |
| 15330 | if testscip-shell system . . test. -f "$dir/$f"; then |
| 15331 | found_dir="$dir" |
| 15332 | found_so="$dir/$f" |
| 15333 | break |
| 15334 | fi |
| 15335 | done |
| 15336 | fi |
| 15337 | fi |
| 15338 | fi |
| 15339 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 15340 | if testscip-shell system . . test. -f "$dir/$libname.$acl_libext"; then |
| 15341 | found_dir="$dir" |
| 15342 | found_a="$dir/$libname.$acl_libext" |
| 15343 | fi |
| 15344 | fi |
| 15345 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 15346 | if testscip-shell system . . test. -f "$dir/$libname.la"; then |
| 15347 | found_la="$dir/$libname.la" |
| 15348 | fi |
| 15349 | fi |
| 15350 | ;; |
| 15351 | esac |
| 15352 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 15353 | break |
| 15354 | fi |
| 15355 | done |
| 15356 | fi |
| 15357 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 15358 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
| 15359 | if testscip-shell system . . test. "X$found_so" != "X"; then |
| 15360 | if testscip-shell system . . test. "$enable_rpath" = no \ |
| 15361 | || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem" \ |
| 15362 | || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
| 15363 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 15364 | else |
| 15365 | haveit= |
| 15366 | for x in $ltrpathdirs; do |
| 15367 | if testscip-shell system . . test. "X$x" = "X$found_dir"; then |
| 15368 | haveit=yes |
| 15369 | break |
| 15370 | fi |
| 15371 | done |
| 15372 | if testscip-shell system . . test. -z "$haveit"; then |
| 15373 | ltrpathdirs="$ltrpathdirs $found_dir" |
| 15374 | fi |
| 15375 | if testscip-shell system . . test. "$acl_hardcode_direct" = yes; then |
| 15376 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 15377 | else |
| 15378 | if testscip-shell system . . test. -n "$acl_hardcode_libdir_flag_spec" && testscip-shell system . . test. "$acl_hardcode_minus_L" = no; then |
| 15379 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 15380 | haveit= |
| 15381 | for x in $rpathdirs; do |
| 15382 | if testscip-shell system . . test. "X$x" = "X$found_dir"; then |
| 15383 | haveit=yes |
| 15384 | break |
| 15385 | fi |
| 15386 | done |
| 15387 | if testscip-shell system . . test. -z "$haveit"; then |
| 15388 | rpathdirs="$rpathdirs $found_dir" |
| 15389 | fi |
| 15390 | else |
| 15391 | haveit= |
| 15392 | for x in $LDFLAGS $LIBICONV; do |
| 15393 | |
| 15394 | acl_save_prefix="$prefix" |
| 15395 | prefix="$acl_final_prefix" |
| 15396 | acl_save_exec_prefix="$exec_prefix" |
| 15397 | exec_prefix="$acl_final_exec_prefix" |
| 15398 | eval x=\"$x\" |
| 15399 | exec_prefix="$acl_save_exec_prefix" |
| 15400 | prefix="$acl_save_prefix" |
| 15401 | |
| 15402 | if testscip-shell system . . test. "X$x" = "X-L$found_dir"; then |
| 15403 | haveit=yes |
| 15404 | break |
| 15405 | fi |
| 15406 | done |
| 15407 | if testscip-shell system . . test. -z "$haveit"; then |
| 15408 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
| 15409 | fi |
| 15410 | if testscip-shell system . . test. "$acl_hardcode_minus_L" != no; then |
| 15411 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
| 15412 | else |
| 15413 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 15414 | fi |
| 15415 | fi |
| 15416 | fi |
| 15417 | fi |
| 15418 | else |
| 15419 | if testscip-shell system . . test. "X$found_a" != "X"; then |
| 15420 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
| 15421 | else |
| 15422 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
| 15423 | fi |
| 15424 | fi |
| 15425 | additional_includedir= |
| 15426 | case "$found_dir" in |
| 15427 | */$acl_libdirstem | */$acl_libdirstem/) |
| 15428 | basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
| 15429 | if testscip-shell system . . test. "$name" = 'iconv'; then |
| 15430 | LIBICONV_PREFIX="$basedir" |
| 15431 | fi |
| 15432 | additional_includedir="$basedir/include" |
| 15433 | ;; |
| 15434 | */$acl_libdirstem2 | */$acl_libdirstem2/) |
| 15435 | basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
| 15436 | if testscip-shell system . . test. "$name" = 'iconv'; then |
| 15437 | LIBICONV_PREFIX="$basedir" |
| 15438 | fi |
| 15439 | additional_includedir="$basedir/include" |
| 15440 | ;; |
| 15441 | esac |
| 15442 | if testscip-shell system . . test. "X$additional_includedir" != "X"; then |
| 15443 | if testscip-shell system . . test. "X$additional_includedir" != "X/usr/include"; then |
| 15444 | haveit= |
| 15445 | if testscip-shell system . . test. "X$additional_includedir" = "X/usr/local/include"; then |
| 15446 | if testscip-shell system . . test. -n "$GCC"; then |
| 15447 | case $host_os in |
| 15448 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 15449 | esac |
| 15450 | fi |
| 15451 | fi |
| 15452 | if testscip-shell system . . test. -z "$haveit"; then |
| 15453 | for x in $CPPFLAGS $INCICONV; do |
| 15454 | |
| 15455 | acl_save_prefix="$prefix" |
| 15456 | prefix="$acl_final_prefix" |
| 15457 | acl_save_exec_prefix="$exec_prefix" |
| 15458 | exec_prefix="$acl_final_exec_prefix" |
| 15459 | eval x=\"$x\" |
| 15460 | exec_prefix="$acl_save_exec_prefix" |
| 15461 | prefix="$acl_save_prefix" |
| 15462 | |
| 15463 | if testscip-shell system . . test. "X$x" = "X-I$additional_includedir"; then |
| 15464 | haveit=yes |
| 15465 | break |
| 15466 | fi |
| 15467 | done |
| 15468 | if testscip-shell system . . test. -z "$haveit"; then |
| 15469 | if testscip-shell system . . test. -d "$additional_includedir"; then |
| 15470 | INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
| 15471 | fi |
| 15472 | fi |
| 15473 | fi |
| 15474 | fi |
| 15475 | fi |
| 15476 | if testscip-shell system . . test. -n "$found_la"; then |
| 15477 | save_libdir="$libdir" |
| 15478 | case "$found_la" in |
| 15479 | */* | *\\*) . "$found_la" ;; |
| 15480 | *) . "./$found_la" ;; |
| 15481 | esac |
| 15482 | libdir="$save_libdir" |
| 15483 | for dep in $dependency_libs; do |
| 15484 | case "$dep" in |
| 15485 | -L*) |
| 15486 | additional_libdir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-L//'` |
| 15487 | if testscip-shell system . . test. "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
| 15488 | && testscip-shell system . . test. "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
| 15489 | haveit= |
| 15490 | if testscip-shell system . . test. "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
| 15491 | || testscip-shell system . . test. "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
| 15492 | if testscip-shell system . . test. -n "$GCC"; then |
| 15493 | case $host_os in |
| 15494 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 15495 | esac |
| 15496 | fi |
| 15497 | fi |
| 15498 | if testscip-shell system . . test. -z "$haveit"; then |
| 15499 | haveit= |
| 15500 | for x in $LDFLAGS $LIBICONV; do |
| 15501 | |
| 15502 | acl_save_prefix="$prefix" |
| 15503 | prefix="$acl_final_prefix" |
| 15504 | acl_save_exec_prefix="$exec_prefix" |
| 15505 | exec_prefix="$acl_final_exec_prefix" |
| 15506 | eval x=\"$x\" |
| 15507 | exec_prefix="$acl_save_exec_prefix" |
| 15508 | prefix="$acl_save_prefix" |
| 15509 | |
| 15510 | if testscip-shell system . . test. "X$x" = "X-L$additional_libdir"; then |
| 15511 | haveit=yes |
| 15512 | break |
| 15513 | fi |
| 15514 | done |
| 15515 | if testscip-shell system . . test. -z "$haveit"; then |
| 15516 | if testscip-shell system . . test. -d "$additional_libdir"; then |
| 15517 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
| 15518 | fi |
| 15519 | fi |
| 15520 | haveit= |
| 15521 | for x in $LDFLAGS $LTLIBICONV; do |
| 15522 | |
| 15523 | acl_save_prefix="$prefix" |
| 15524 | prefix="$acl_final_prefix" |
| 15525 | acl_save_exec_prefix="$exec_prefix" |
| 15526 | exec_prefix="$acl_final_exec_prefix" |
| 15527 | eval x=\"$x\" |
| 15528 | exec_prefix="$acl_save_exec_prefix" |
| 15529 | prefix="$acl_save_prefix" |
| 15530 | |
| 15531 | if testscip-shell system . . test. "X$x" = "X-L$additional_libdir"; then |
| 15532 | haveit=yes |
| 15533 | break |
| 15534 | fi |
| 15535 | done |
| 15536 | if testscip-shell system . . test. -z "$haveit"; then |
| 15537 | if testscip-shell system . . test. -d "$additional_libdir"; then |
| 15538 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
| 15539 | fi |
| 15540 | fi |
| 15541 | fi |
| 15542 | fi |
| 15543 | ;; |
| 15544 | -R*) |
| 15545 | dir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-R//'` |
| 15546 | if testscip-shell system . . test. "$enable_rpath" != no; then |
| 15547 | haveit= |
| 15548 | for x in $rpathdirs; do |
| 15549 | if testscip-shell system . . test. "X$x" = "X$dir"; then |
| 15550 | haveit=yes |
| 15551 | break |
| 15552 | fi |
| 15553 | done |
| 15554 | if testscip-shell system . . test. -z "$haveit"; then |
| 15555 | rpathdirs="$rpathdirs $dir" |
| 15556 | fi |
| 15557 | haveit= |
| 15558 | for x in $ltrpathdirs; do |
| 15559 | if testscip-shell system . . test. "X$x" = "X$dir"; then |
| 15560 | haveit=yes |
| 15561 | break |
| 15562 | fi |
| 15563 | done |
| 15564 | if testscip-shell system . . test. -z "$haveit"; then |
| 15565 | ltrpathdirs="$ltrpathdirs $dir" |
| 15566 | fi |
| 15567 | fi |
| 15568 | ;; |
| 15569 | -l*) |
| 15570 | names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-l//'` |
| 15571 | ;; |
| 15572 | *.la) |
| 15573 | names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
| 15574 | ;; |
| 15575 | *) |
| 15576 | LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
| 15577 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
| 15578 | ;; |
| 15579 | esac |
| 15580 | done |
| 15581 | fi |
| 15582 | else |
| 15583 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
| 15584 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
| 15585 | fi |
| 15586 | fi |
| 15587 | fi |
| 15588 | done |
| 15589 | done |
| 15590 | if testscip-shell system . . test. "X$rpathdirs" != "X"; then |
| 15591 | if testscip-shell system . . test. -n "$acl_hardcode_libdir_separator"; then |
| 15592 | alldirs= |
| 15593 | for found_dir in $rpathdirs; do |
| 15594 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 15595 | done |
| 15596 | acl_save_libdir="$libdir" |
| 15597 | libdir="$alldirs" |
| 15598 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 15599 | libdir="$acl_save_libdir" |
| 15600 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 15601 | else |
| 15602 | for found_dir in $rpathdirs; do |
| 15603 | acl_save_libdir="$libdir" |
| 15604 | libdir="$found_dir" |
| 15605 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 15606 | libdir="$acl_save_libdir" |
| 15607 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
| 15608 | done |
| 15609 | fi |
| 15610 | fi |
| 15611 | if testscip-shell system . . test. "X$ltrpathdirs" != "X"; then |
| 15612 | for found_dir in $ltrpathdirs; do |
| 15613 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
| 15614 | done |
| 15615 | fi |
| 15616 | |
| 15617 | |
| 15618 | |
| 15619 | |
| 15620 | |
| 15621 | |
| 15622 | |
| 15623 | |
| 15624 | |
| 15625 | |
| 15626 | |
| 15627 | |
| 15628 | |
| 15629 | |
| 15630 | |
| 15631 | |
| 15632 | |
| 15633 | |
| 15634 | |
| 15635 | |
| 15636 | |
| 15637 | |
| 15638 | |
| 15639 | |
| 15640 | |
| 15641 | |
| 15642 | |
| 15643 | |
| 15644 | |
| 15645 | |
| 15646 | |
| 15647 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 |
| 15648 | printfscip-shell system . . printf. %s "checking for CFPreferencesCopyAppValue... " >&6; } |
| 15649 | if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : |
| 15650 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15651 | else |
| 15652 | gt_save_LIBS="$LIBS" |
| 15653 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
| 15654 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15655 | /* end confdefs.h. */ |
| 15656 | #include <CoreFoundation/CFPreferences.h> |
| 15657 | int |
| 15658 | main () |
| 15659 | { |
| 15660 | CFPreferencesCopyAppValue(NULL, NULL) |
| 15661 | ; |
| 15662 | return 0; |
| 15663 | } |
| 15664 | _ACEOF |
| 15665 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 15666 | gt_cv_func_CFPreferencesCopyAppValue=yes |
| 15667 | else |
| 15668 | gt_cv_func_CFPreferencesCopyAppValue=no |
| 15669 | fi |
| 15670 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 15671 | conftest$ac_exeext conftest.$ac_ext |
| 15672 | LIBS="$gt_save_LIBS" |
| 15673 | fi |
| 15674 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 |
| 15675 | printfscip-shell system . . printf. "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } |
| 15676 | if testscip-shell system . . test. $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
| 15677 | |
| 15678 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h |
| 15679 | |
| 15680 | fi |
| 15681 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 |
| 15682 | printfscip-shell system . . printf. %s "checking for CFLocaleCopyCurrent... " >&6; } |
| 15683 | if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : |
| 15684 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15685 | else |
| 15686 | gt_save_LIBS="$LIBS" |
| 15687 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
| 15688 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15689 | /* end confdefs.h. */ |
| 15690 | #include <CoreFoundation/CFLocale.h> |
| 15691 | int |
| 15692 | main () |
| 15693 | { |
| 15694 | CFLocaleCopyCurrent(); |
| 15695 | ; |
| 15696 | return 0; |
| 15697 | } |
| 15698 | _ACEOF |
| 15699 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 15700 | gt_cv_func_CFLocaleCopyCurrent=yes |
| 15701 | else |
| 15702 | gt_cv_func_CFLocaleCopyCurrent=no |
| 15703 | fi |
| 15704 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 15705 | conftest$ac_exeext conftest.$ac_ext |
| 15706 | LIBS="$gt_save_LIBS" |
| 15707 | fi |
| 15708 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 |
| 15709 | printfscip-shell system . . printf. "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; } |
| 15710 | if testscip-shell system . . test. $gt_cv_func_CFLocaleCopyCurrent = yes; then |
| 15711 | |
| 15712 | printfscip-shell system . . printf. "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h |
| 15713 | |
| 15714 | fi |
| 15715 | INTL_MACOSX_LIBS= |
| 15716 | if testscip-shell system . . test. $gt_cv_func_CFPreferencesCopyAppValue = yes || testscip-shell system . . test. $gt_cv_func_CFLocaleCopyCurrent = yes; then |
| 15717 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
| 15718 | fi |
| 15719 | |
| 15720 | |
| 15721 | |
| 15722 | |
| 15723 | |
| 15724 | |
| 15725 | LIBINTL= |
| 15726 | LTLIBINTL= |
| 15727 | POSUB= |
| 15728 | |
| 15729 | case " $gt_needs " in |
| 15730 | *" need-formatstring-macros "*) gt_api_version=3 ;; |
| 15731 | *" need-ngettext "*) gt_api_version=2 ;; |
| 15732 | *) gt_api_version=1 ;; |
| 15733 | esac |
| 15734 | gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
| 15735 | gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
| 15736 | |
| 15737 | if testscip-shell system . . test. "$USE_NLS" = "yes"; then |
| 15738 | gt_use_preinstalled_gnugettext=no |
| 15739 | |
| 15740 | |
| 15741 | if testscip-shell system . . test. $gt_api_version -ge 3; then |
| 15742 | gt_revision_test_code=' |
| 15743 | #ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
| 15744 | #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) |
| 15745 | #endif |
| 15746 | typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; |
| 15747 | ' |
| 15748 | else |
| 15749 | gt_revision_test_code= |
| 15750 | fi |
| 15751 | if testscip-shell system . . test. $gt_api_version -ge 2; then |
| 15752 | gt_expression_test_code=' + * ngettext ("", "", 0)' |
| 15753 | else |
| 15754 | gt_expression_test_code= |
| 15755 | fi |
| 15756 | |
| 15757 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
| 15758 | printfscip-shell system . . printf. %s "checking for GNU gettext in libc... " >&6; } |
| 15759 | if eval \${$gt_func_gnugettext_libc+:} false; then : |
| 15760 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15761 | else |
| 15762 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15763 | /* end confdefs.h. */ |
| 15764 | #include <libintl.h> |
| 15765 | $gt_revision_test_code |
| 15766 | extern int _nl_msg_cat_cntr; |
| 15767 | extern int *_nl_domain_bindings; |
| 15768 | int |
| 15769 | main () |
| 15770 | { |
| 15771 | bindtextdomain ("", ""); |
| 15772 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings |
| 15773 | ; |
| 15774 | return 0; |
| 15775 | } |
| 15776 | _ACEOF |
| 15777 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 15778 | eval "$gt_func_gnugettext_libc=yes" |
| 15779 | else |
| 15780 | eval "$gt_func_gnugettext_libc=no" |
| 15781 | fi |
| 15782 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 15783 | conftest$ac_exeext conftest.$ac_ext |
| 15784 | fi |
| 15785 | eval ac_res=\$$gt_func_gnugettext_libc |
| 15786 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 15787 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 15788 | |
| 15789 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; testscip-shell system . . test. "$gt_val" != "yes"; }; then |
| 15790 | |
| 15791 | |
| 15792 | |
| 15793 | |
| 15794 | |
| 15795 | am_save_CPPFLAGS="$CPPFLAGS" |
| 15796 | |
| 15797 | for element in $INCICONV; do |
| 15798 | haveit= |
| 15799 | for x in $CPPFLAGS; do |
| 15800 | |
| 15801 | acl_save_prefix="$prefix" |
| 15802 | prefix="$acl_final_prefix" |
| 15803 | acl_save_exec_prefix="$exec_prefix" |
| 15804 | exec_prefix="$acl_final_exec_prefix" |
| 15805 | eval x=\"$x\" |
| 15806 | exec_prefix="$acl_save_exec_prefix" |
| 15807 | prefix="$acl_save_prefix" |
| 15808 | |
| 15809 | if testscip-shell system . . test. "X$x" = "X$element"; then |
| 15810 | haveit=yes |
| 15811 | break |
| 15812 | fi |
| 15813 | done |
| 15814 | if testscip-shell system . . test. -z "$haveit"; then |
| 15815 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 15816 | fi |
| 15817 | done |
| 15818 | |
| 15819 | |
| 15820 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
| 15821 | printfscip-shell system . . printf. %s "checking for iconv... " >&6; } |
| 15822 | if ${am_cv_func_iconv+:} false; then : |
| 15823 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15824 | else |
| 15825 | |
| 15826 | am_cv_func_iconv="no, consider installing GNU libiconv" |
| 15827 | am_cv_lib_iconv=no |
| 15828 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15829 | /* end confdefs.h. */ |
| 15830 | #include <stdlib.h> |
| 15831 | #include <iconv.h> |
| 15832 | int |
| 15833 | main () |
| 15834 | { |
| 15835 | iconv_t cd = iconv_open("",""); |
| 15836 | iconv(cd,NULL,NULL,NULL,NULL); |
| 15837 | iconv_close(cd); |
| 15838 | ; |
| 15839 | return 0; |
| 15840 | } |
| 15841 | _ACEOF |
| 15842 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 15843 | am_cv_func_iconv=yes |
| 15844 | fi |
| 15845 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 15846 | conftest$ac_exeext conftest.$ac_ext |
| 15847 | if testscip-shell system . . test. "$am_cv_func_iconv" != yes; then |
| 15848 | am_save_LIBS="$LIBS" |
| 15849 | LIBS="$LIBS $LIBICONV" |
| 15850 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15851 | /* end confdefs.h. */ |
| 15852 | #include <stdlib.h> |
| 15853 | #include <iconv.h> |
| 15854 | int |
| 15855 | main () |
| 15856 | { |
| 15857 | iconv_t cd = iconv_open("",""); |
| 15858 | iconv(cd,NULL,NULL,NULL,NULL); |
| 15859 | iconv_close(cd); |
| 15860 | ; |
| 15861 | return 0; |
| 15862 | } |
| 15863 | _ACEOF |
| 15864 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 15865 | am_cv_lib_iconv=yes |
| 15866 | am_cv_func_iconv=yes |
| 15867 | fi |
| 15868 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 15869 | conftest$ac_exeext conftest.$ac_ext |
| 15870 | LIBS="$am_save_LIBS" |
| 15871 | fi |
| 15872 | |
| 15873 | fi |
| 15874 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
| 15875 | printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv" >&6; } |
| 15876 | if testscip-shell system . . test. "$am_cv_func_iconv" = yes; then |
| 15877 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
| 15878 | printfscip-shell system . . printf. %s "checking for working iconv... " >&6; } |
| 15879 | if ${am_cv_func_iconv_works+:} false; then : |
| 15880 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 15881 | else |
| 15882 | |
| 15883 | am_save_LIBS="$LIBS" |
| 15884 | if testscip-shell system . . test. $am_cv_lib_iconv = yes; then |
| 15885 | LIBS="$LIBS $LIBICONV" |
| 15886 | fi |
| 15887 | if testscip-shell system . . test. "$cross_compiling" = yes; then : |
| 15888 | case "$host_os" in |
| 15889 | aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
| 15890 | *) am_cv_func_iconv_works="guessing yes" ;; |
| 15891 | esac |
| 15892 | else |
| 15893 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15894 | /* end confdefs.h. */ |
| 15895 | |
| 15896 | #include <iconv.h> |
| 15897 | #include <string.h> |
| 15898 | int main () |
| 15899 | { |
| 15900 | /* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
| 15901 | returns. */ |
| 15902 | { |
| 15903 | iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
| 15904 | if (cd_utf8_to_88591 != (iconv_t)(-1)) |
| 15905 | { |
| 15906 | static const char input[] = "\342\202\254"; /* EURO SIGN */ |
| 15907 | char buf[10]; |
| 15908 | const char *inptr = input; |
| 15909 | size_t inbytesleft = strlen (input); |
| 15910 | char *outptr = buf; |
| 15911 | size_t outbytesleft = sizeof (buf); |
| 15912 | size_t res = iconv (cd_utf8_to_88591, |
| 15913 | (char **) &inptr, &inbytesleft, |
| 15914 | &outptr, &outbytesleft); |
| 15915 | if (res == 0) |
| 15916 | return 1; |
| 15917 | } |
| 15918 | } |
| 15919 | /* Test against Solaris 10 bug: Failures are not distinguishable from |
| 15920 | successful returns. */ |
| 15921 | { |
| 15922 | iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); |
| 15923 | if (cd_ascii_to_88591 != (iconv_t)(-1)) |
| 15924 | { |
| 15925 | static const char input[] = "\263"; |
| 15926 | char buf[10]; |
| 15927 | const char *inptr = input; |
| 15928 | size_t inbytesleft = strlen (input); |
| 15929 | char *outptr = buf; |
| 15930 | size_t outbytesleft = sizeof (buf); |
| 15931 | size_t res = iconv (cd_ascii_to_88591, |
| 15932 | (char **) &inptr, &inbytesleft, |
| 15933 | &outptr, &outbytesleft); |
| 15934 | if (res == 0) |
| 15935 | return 1; |
| 15936 | } |
| 15937 | } |
| 15938 | #if 0 /* This bug could be worked around by the caller. */ |
| 15939 | /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
| 15940 | { |
| 15941 | iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
| 15942 | if (cd_88591_to_utf8 != (iconv_t)(-1)) |
| 15943 | { |
| 15944 | static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; |
| 15945 | char buf[50]; |
| 15946 | const char *inptr = input; |
| 15947 | size_t inbytesleft = strlen (input); |
| 15948 | char *outptr = buf; |
| 15949 | size_t outbytesleft = sizeof (buf); |
| 15950 | size_t res = iconv (cd_88591_to_utf8, |
| 15951 | (char **) &inptr, &inbytesleft, |
| 15952 | &outptr, &outbytesleft); |
| 15953 | if ((int)res > 0) |
| 15954 | return 1; |
| 15955 | } |
| 15956 | } |
| 15957 | #endif |
| 15958 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
| 15959 | provided. */ |
| 15960 | if (/* Try standardized names. */ |
| 15961 | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
| 15962 | /* Try IRIX, OSF/1 names. */ |
| 15963 | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
| 15964 | /* Try AIX names. */ |
| 15965 | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
| 15966 | /* Try HP-UX names. */ |
| 15967 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
| 15968 | return 1; |
| 15969 | return 0; |
| 15970 | } |
| 15971 | _ACEOF |
| 15972 | if ac_fn_c_try_runscip-shell shell cppi 1.18-6 ac_fn_c_try_run(). "$LINENO"; then : |
| 15973 | am_cv_func_iconv_works=yes |
| 15974 | else |
| 15975 | am_cv_func_iconv_works=no |
| 15976 | fi |
| 15977 | rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 15978 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15979 | fi |
| 15980 | |
| 15981 | LIBS="$am_save_LIBS" |
| 15982 | |
| 15983 | fi |
| 15984 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
| 15985 | printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv_works" >&6; } |
| 15986 | case "$am_cv_func_iconv_works" in |
| 15987 | *no) am_func_iconv=no am_cv_lib_iconv=no ;; |
| 15988 | *) am_func_iconv=yes ;; |
| 15989 | esac |
| 15990 | else |
| 15991 | am_func_iconv=no am_cv_lib_iconv=no |
| 15992 | fi |
| 15993 | if testscip-shell system . . test. "$am_func_iconv" = yes; then |
| 15994 | |
| 15995 | printfscip-shell system . . printf. "%s\n" "#define HAVE_ICONV 1" >>confdefs.h |
| 15996 | |
| 15997 | fi |
| 15998 | if testscip-shell system . . test. "$am_cv_lib_iconv" = yes; then |
| 15999 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
| 16000 | printfscip-shell system . . printf. %s "checking how to link with libiconv... " >&6; } |
| 16001 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
| 16002 | printfscip-shell system . . printf. "%s\n" "$LIBICONV" >&6; } |
| 16003 | else |
| 16004 | CPPFLAGS="$am_save_CPPFLAGS" |
| 16005 | LIBICONV= |
| 16006 | LTLIBICONV= |
| 16007 | fi |
| 16008 | |
| 16009 | |
| 16010 | |
| 16011 | |
| 16012 | |
| 16013 | |
| 16014 | |
| 16015 | |
| 16016 | |
| 16017 | |
| 16018 | |
| 16019 | use_additional=yes |
| 16020 | |
| 16021 | acl_save_prefix="$prefix" |
| 16022 | prefix="$acl_final_prefix" |
| 16023 | acl_save_exec_prefix="$exec_prefix" |
| 16024 | exec_prefix="$acl_final_exec_prefix" |
| 16025 | |
| 16026 | eval additional_includedir=\"$includedir\" |
| 16027 | eval additional_libdir=\"$libdir\" |
| 16028 | |
| 16029 | exec_prefix="$acl_save_exec_prefix" |
| 16030 | prefix="$acl_save_prefix" |
| 16031 | |
| 16032 | |
| 16033 | # Check whether --with-libintl-prefix was given. |
| 16034 | if testscip-shell system . . test. "${with_libintl_prefix+set}" = set; then : |
| 16035 | withval=$with_libintl_prefix; |
| 16036 | if testscip-shell system . . test. "X$withval" = "Xno"; then |
| 16037 | use_additional=no |
| 16038 | else |
| 16039 | if testscip-shell system . . test. "X$withval" = "X"; then |
| 16040 | |
| 16041 | acl_save_prefix="$prefix" |
| 16042 | prefix="$acl_final_prefix" |
| 16043 | acl_save_exec_prefix="$exec_prefix" |
| 16044 | exec_prefix="$acl_final_exec_prefix" |
| 16045 | |
| 16046 | eval additional_includedir=\"$includedir\" |
| 16047 | eval additional_libdir=\"$libdir\" |
| 16048 | |
| 16049 | exec_prefix="$acl_save_exec_prefix" |
| 16050 | prefix="$acl_save_prefix" |
| 16051 | |
| 16052 | else |
| 16053 | additional_includedir="$withval/include" |
| 16054 | additional_libdir="$withval/$acl_libdirstem" |
| 16055 | if testscip-shell system . . test. "$acl_libdirstem2" != "$acl_libdirstem" \ |
| 16056 | && ! testscip-shell system . . test. -d "$withval/$acl_libdirstem"; then |
| 16057 | additional_libdir="$withval/$acl_libdirstem2" |
| 16058 | fi |
| 16059 | fi |
| 16060 | fi |
| 16061 | |
| 16062 | fi |
| 16063 | |
| 16064 | LIBINTL= |
| 16065 | LTLIBINTL= |
| 16066 | INCINTL= |
| 16067 | LIBINTL_PREFIX= |
| 16068 | HAVE_LIBINTL= |
| 16069 | rpathdirs= |
| 16070 | ltrpathdirs= |
| 16071 | names_already_handled= |
| 16072 | names_next_round='intl ' |
| 16073 | while testscip-shell system . . test. -n "$names_next_round"; do |
| 16074 | names_this_round="$names_next_round" |
| 16075 | names_next_round= |
| 16076 | for name in $names_this_round; do |
| 16077 | already_handled= |
| 16078 | for n in $names_already_handled; do |
| 16079 | if testscip-shell system . . test. "$n" = "$name"; then |
| 16080 | already_handled=yes |
| 16081 | break |
| 16082 | fi |
| 16083 | done |
| 16084 | if testscip-shell system . . test. -z "$already_handled"; then |
| 16085 | names_already_handled="$names_already_handled $name" |
| 16086 | uppername=`echoscip-shell system . . echo. "$name" | sedscip-shell system . . sed. -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
| 16087 | eval value=\"\$HAVE_LIB$uppername\" |
| 16088 | if testscip-shell system . . test. -n "$value"; then |
| 16089 | if testscip-shell system . . test. "$value" = yes; then |
| 16090 | eval value=\"\$LIB$uppername\" |
| 16091 | testscip-shell system . . test. -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
| 16092 | eval value=\"\$LTLIB$uppername\" |
| 16093 | testscip-shell system . . test. -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
| 16094 | else |
| 16095 | : |
| 16096 | fi |
| 16097 | else |
| 16098 | found_dir= |
| 16099 | found_la= |
| 16100 | found_so= |
| 16101 | found_a= |
| 16102 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
| 16103 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 16104 | shrext=".$acl_shlibext" # typically: shrext=.so |
| 16105 | else |
| 16106 | shrext= |
| 16107 | fi |
| 16108 | if testscip-shell system . . test. $use_additional = yes; then |
| 16109 | dir="$additional_libdir" |
| 16110 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 16111 | if testscip-shell system . . test. -f "$dir/$libname$shrext"; then |
| 16112 | found_dir="$dir" |
| 16113 | found_so="$dir/$libname$shrext" |
| 16114 | else |
| 16115 | if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 16116 | ver=`(cd "$dir" && \ |
| 16117 | for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \ |
| 16118 | | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \ |
| 16119 | | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 16120 | | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 16121 | if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver"; then |
| 16122 | found_dir="$dir" |
| 16123 | found_so="$dir/$libname$shrext.$ver" |
| 16124 | fi |
| 16125 | else |
| 16126 | eval library_names=\"$acl_library_names_spec\" |
| 16127 | for f in $library_names; do |
| 16128 | if testscip-shell system . . test. -f "$dir/$f"; then |
| 16129 | found_dir="$dir" |
| 16130 | found_so="$dir/$f" |
| 16131 | break |
| 16132 | fi |
| 16133 | done |
| 16134 | fi |
| 16135 | fi |
| 16136 | fi |
| 16137 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 16138 | if testscip-shell system . . test. -f "$dir/$libname.$acl_libext"; then |
| 16139 | found_dir="$dir" |
| 16140 | found_a="$dir/$libname.$acl_libext" |
| 16141 | fi |
| 16142 | fi |
| 16143 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 16144 | if testscip-shell system . . test. -f "$dir/$libname.la"; then |
| 16145 | found_la="$dir/$libname.la" |
| 16146 | fi |
| 16147 | fi |
| 16148 | fi |
| 16149 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 16150 | for x in $LDFLAGS $LTLIBINTL; do |
| 16151 | |
| 16152 | acl_save_prefix="$prefix" |
| 16153 | prefix="$acl_final_prefix" |
| 16154 | acl_save_exec_prefix="$exec_prefix" |
| 16155 | exec_prefix="$acl_final_exec_prefix" |
| 16156 | eval x=\"$x\" |
| 16157 | exec_prefix="$acl_save_exec_prefix" |
| 16158 | prefix="$acl_save_prefix" |
| 16159 | |
| 16160 | case "$x" in |
| 16161 | -L*) |
| 16162 | dir=`echoscip-shell system . . echo. "X$x" | sedscip-shell system . . sed. -e 's/^X-L//'` |
| 16163 | if testscip-shell system . . test. -n "$acl_shlibext"; then |
| 16164 | if testscip-shell system . . test. -f "$dir/$libname$shrext"; then |
| 16165 | found_dir="$dir" |
| 16166 | found_so="$dir/$libname$shrext" |
| 16167 | else |
| 16168 | if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
| 16169 | ver=`(cd "$dir" && \ |
| 16170 | for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \ |
| 16171 | | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \ |
| 16172 | | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
| 16173 | | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` |
| 16174 | if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver"; then |
| 16175 | found_dir="$dir" |
| 16176 | found_so="$dir/$libname$shrext.$ver" |
| 16177 | fi |
| 16178 | else |
| 16179 | eval library_names=\"$acl_library_names_spec\" |
| 16180 | for f in $library_names; do |
| 16181 | if testscip-shell system . . test. -f "$dir/$f"; then |
| 16182 | found_dir="$dir" |
| 16183 | found_so="$dir/$f" |
| 16184 | break |
| 16185 | fi |
| 16186 | done |
| 16187 | fi |
| 16188 | fi |
| 16189 | fi |
| 16190 | if testscip-shell system . . test. "X$found_dir" = "X"; then |
| 16191 | if testscip-shell system . . test. -f "$dir/$libname.$acl_libext"; then |
| 16192 | found_dir="$dir" |
| 16193 | found_a="$dir/$libname.$acl_libext" |
| 16194 | fi |
| 16195 | fi |
| 16196 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 16197 | if testscip-shell system . . test. -f "$dir/$libname.la"; then |
| 16198 | found_la="$dir/$libname.la" |
| 16199 | fi |
| 16200 | fi |
| 16201 | ;; |
| 16202 | esac |
| 16203 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 16204 | break |
| 16205 | fi |
| 16206 | done |
| 16207 | fi |
| 16208 | if testscip-shell system . . test. "X$found_dir" != "X"; then |
| 16209 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
| 16210 | if testscip-shell system . . test. "X$found_so" != "X"; then |
| 16211 | if testscip-shell system . . test. "$enable_rpath" = no \ |
| 16212 | || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem" \ |
| 16213 | || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
| 16214 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 16215 | else |
| 16216 | haveit= |
| 16217 | for x in $ltrpathdirs; do |
| 16218 | if testscip-shell system . . test. "X$x" = "X$found_dir"; then |
| 16219 | haveit=yes |
| 16220 | break |
| 16221 | fi |
| 16222 | done |
| 16223 | if testscip-shell system . . test. -z "$haveit"; then |
| 16224 | ltrpathdirs="$ltrpathdirs $found_dir" |
| 16225 | fi |
| 16226 | if testscip-shell system . . test. "$acl_hardcode_direct" = yes; then |
| 16227 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 16228 | else |
| 16229 | if testscip-shell system . . test. -n "$acl_hardcode_libdir_flag_spec" && testscip-shell system . . test. "$acl_hardcode_minus_L" = no; then |
| 16230 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 16231 | haveit= |
| 16232 | for x in $rpathdirs; do |
| 16233 | if testscip-shell system . . test. "X$x" = "X$found_dir"; then |
| 16234 | haveit=yes |
| 16235 | break |
| 16236 | fi |
| 16237 | done |
| 16238 | if testscip-shell system . . test. -z "$haveit"; then |
| 16239 | rpathdirs="$rpathdirs $found_dir" |
| 16240 | fi |
| 16241 | else |
| 16242 | haveit= |
| 16243 | for x in $LDFLAGS $LIBINTL; do |
| 16244 | |
| 16245 | acl_save_prefix="$prefix" |
| 16246 | prefix="$acl_final_prefix" |
| 16247 | acl_save_exec_prefix="$exec_prefix" |
| 16248 | exec_prefix="$acl_final_exec_prefix" |
| 16249 | eval x=\"$x\" |
| 16250 | exec_prefix="$acl_save_exec_prefix" |
| 16251 | prefix="$acl_save_prefix" |
| 16252 | |
| 16253 | if testscip-shell system . . test. "X$x" = "X-L$found_dir"; then |
| 16254 | haveit=yes |
| 16255 | break |
| 16256 | fi |
| 16257 | done |
| 16258 | if testscip-shell system . . test. -z "$haveit"; then |
| 16259 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
| 16260 | fi |
| 16261 | if testscip-shell system . . test. "$acl_hardcode_minus_L" != no; then |
| 16262 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
| 16263 | else |
| 16264 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
| 16265 | fi |
| 16266 | fi |
| 16267 | fi |
| 16268 | fi |
| 16269 | else |
| 16270 | if testscip-shell system . . test. "X$found_a" != "X"; then |
| 16271 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
| 16272 | else |
| 16273 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
| 16274 | fi |
| 16275 | fi |
| 16276 | additional_includedir= |
| 16277 | case "$found_dir" in |
| 16278 | */$acl_libdirstem | */$acl_libdirstem/) |
| 16279 | basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
| 16280 | if testscip-shell system . . test. "$name" = 'intl'; then |
| 16281 | LIBINTL_PREFIX="$basedir" |
| 16282 | fi |
| 16283 | additional_includedir="$basedir/include" |
| 16284 | ;; |
| 16285 | */$acl_libdirstem2 | */$acl_libdirstem2/) |
| 16286 | basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
| 16287 | if testscip-shell system . . test. "$name" = 'intl'; then |
| 16288 | LIBINTL_PREFIX="$basedir" |
| 16289 | fi |
| 16290 | additional_includedir="$basedir/include" |
| 16291 | ;; |
| 16292 | esac |
| 16293 | if testscip-shell system . . test. "X$additional_includedir" != "X"; then |
| 16294 | if testscip-shell system . . test. "X$additional_includedir" != "X/usr/include"; then |
| 16295 | haveit= |
| 16296 | if testscip-shell system . . test. "X$additional_includedir" = "X/usr/local/include"; then |
| 16297 | if testscip-shell system . . test. -n "$GCC"; then |
| 16298 | case $host_os in |
| 16299 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 16300 | esac |
| 16301 | fi |
| 16302 | fi |
| 16303 | if testscip-shell system . . test. -z "$haveit"; then |
| 16304 | for x in $CPPFLAGS $INCINTL; do |
| 16305 | |
| 16306 | acl_save_prefix="$prefix" |
| 16307 | prefix="$acl_final_prefix" |
| 16308 | acl_save_exec_prefix="$exec_prefix" |
| 16309 | exec_prefix="$acl_final_exec_prefix" |
| 16310 | eval x=\"$x\" |
| 16311 | exec_prefix="$acl_save_exec_prefix" |
| 16312 | prefix="$acl_save_prefix" |
| 16313 | |
| 16314 | if testscip-shell system . . test. "X$x" = "X-I$additional_includedir"; then |
| 16315 | haveit=yes |
| 16316 | break |
| 16317 | fi |
| 16318 | done |
| 16319 | if testscip-shell system . . test. -z "$haveit"; then |
| 16320 | if testscip-shell system . . test. -d "$additional_includedir"; then |
| 16321 | INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
| 16322 | fi |
| 16323 | fi |
| 16324 | fi |
| 16325 | fi |
| 16326 | fi |
| 16327 | if testscip-shell system . . test. -n "$found_la"; then |
| 16328 | save_libdir="$libdir" |
| 16329 | case "$found_la" in |
| 16330 | */* | *\\*) . "$found_la" ;; |
| 16331 | *) . "./$found_la" ;; |
| 16332 | esac |
| 16333 | libdir="$save_libdir" |
| 16334 | for dep in $dependency_libs; do |
| 16335 | case "$dep" in |
| 16336 | -L*) |
| 16337 | additional_libdir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-L//'` |
| 16338 | if testscip-shell system . . test. "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
| 16339 | && testscip-shell system . . test. "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
| 16340 | haveit= |
| 16341 | if testscip-shell system . . test. "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
| 16342 | || testscip-shell system . . test. "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
| 16343 | if testscip-shell system . . test. -n "$GCC"; then |
| 16344 | case $host_os in |
| 16345 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
| 16346 | esac |
| 16347 | fi |
| 16348 | fi |
| 16349 | if testscip-shell system . . test. -z "$haveit"; then |
| 16350 | haveit= |
| 16351 | for x in $LDFLAGS $LIBINTL; do |
| 16352 | |
| 16353 | acl_save_prefix="$prefix" |
| 16354 | prefix="$acl_final_prefix" |
| 16355 | acl_save_exec_prefix="$exec_prefix" |
| 16356 | exec_prefix="$acl_final_exec_prefix" |
| 16357 | eval x=\"$x\" |
| 16358 | exec_prefix="$acl_save_exec_prefix" |
| 16359 | prefix="$acl_save_prefix" |
| 16360 | |
| 16361 | if testscip-shell system . . test. "X$x" = "X-L$additional_libdir"; then |
| 16362 | haveit=yes |
| 16363 | break |
| 16364 | fi |
| 16365 | done |
| 16366 | if testscip-shell system . . test. -z "$haveit"; then |
| 16367 | if testscip-shell system . . test. -d "$additional_libdir"; then |
| 16368 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
| 16369 | fi |
| 16370 | fi |
| 16371 | haveit= |
| 16372 | for x in $LDFLAGS $LTLIBINTL; do |
| 16373 | |
| 16374 | acl_save_prefix="$prefix" |
| 16375 | prefix="$acl_final_prefix" |
| 16376 | acl_save_exec_prefix="$exec_prefix" |
| 16377 | exec_prefix="$acl_final_exec_prefix" |
| 16378 | eval x=\"$x\" |
| 16379 | exec_prefix="$acl_save_exec_prefix" |
| 16380 | prefix="$acl_save_prefix" |
| 16381 | |
| 16382 | if testscip-shell system . . test. "X$x" = "X-L$additional_libdir"; then |
| 16383 | haveit=yes |
| 16384 | break |
| 16385 | fi |
| 16386 | done |
| 16387 | if testscip-shell system . . test. -z "$haveit"; then |
| 16388 | if testscip-shell system . . test. -d "$additional_libdir"; then |
| 16389 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
| 16390 | fi |
| 16391 | fi |
| 16392 | fi |
| 16393 | fi |
| 16394 | ;; |
| 16395 | -R*) |
| 16396 | dir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-R//'` |
| 16397 | if testscip-shell system . . test. "$enable_rpath" != no; then |
| 16398 | haveit= |
| 16399 | for x in $rpathdirs; do |
| 16400 | if testscip-shell system . . test. "X$x" = "X$dir"; then |
| 16401 | haveit=yes |
| 16402 | break |
| 16403 | fi |
| 16404 | done |
| 16405 | if testscip-shell system . . test. -z "$haveit"; then |
| 16406 | rpathdirs="$rpathdirs $dir" |
| 16407 | fi |
| 16408 | haveit= |
| 16409 | for x in $ltrpathdirs; do |
| 16410 | if testscip-shell system . . test. "X$x" = "X$dir"; then |
| 16411 | haveit=yes |
| 16412 | break |
| 16413 | fi |
| 16414 | done |
| 16415 | if testscip-shell system . . test. -z "$haveit"; then |
| 16416 | ltrpathdirs="$ltrpathdirs $dir" |
| 16417 | fi |
| 16418 | fi |
| 16419 | ;; |
| 16420 | -l*) |
| 16421 | names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-l//'` |
| 16422 | ;; |
| 16423 | *.la) |
| 16424 | names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
| 16425 | ;; |
| 16426 | *) |
| 16427 | LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
| 16428 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
| 16429 | ;; |
| 16430 | esac |
| 16431 | done |
| 16432 | fi |
| 16433 | else |
| 16434 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
| 16435 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
| 16436 | fi |
| 16437 | fi |
| 16438 | fi |
| 16439 | done |
| 16440 | done |
| 16441 | if testscip-shell system . . test. "X$rpathdirs" != "X"; then |
| 16442 | if testscip-shell system . . test. -n "$acl_hardcode_libdir_separator"; then |
| 16443 | alldirs= |
| 16444 | for found_dir in $rpathdirs; do |
| 16445 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
| 16446 | done |
| 16447 | acl_save_libdir="$libdir" |
| 16448 | libdir="$alldirs" |
| 16449 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 16450 | libdir="$acl_save_libdir" |
| 16451 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 16452 | else |
| 16453 | for found_dir in $rpathdirs; do |
| 16454 | acl_save_libdir="$libdir" |
| 16455 | libdir="$found_dir" |
| 16456 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
| 16457 | libdir="$acl_save_libdir" |
| 16458 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
| 16459 | done |
| 16460 | fi |
| 16461 | fi |
| 16462 | if testscip-shell system . . test. "X$ltrpathdirs" != "X"; then |
| 16463 | for found_dir in $ltrpathdirs; do |
| 16464 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
| 16465 | done |
| 16466 | fi |
| 16467 | |
| 16468 | |
| 16469 | |
| 16470 | |
| 16471 | |
| 16472 | |
| 16473 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
| 16474 | printfscip-shell system . . printf. %s "checking for GNU gettext in libintl... " >&6; } |
| 16475 | if eval \${$gt_func_gnugettext_libintl+:} false; then : |
| 16476 | printfscip-shell system . . printf. %s "(cached) " >&6 |
| 16477 | else |
| 16478 | gt_save_CPPFLAGS="$CPPFLAGS" |
| 16479 | CPPFLAGS="$CPPFLAGS $INCINTL" |
| 16480 | gt_save_LIBS="$LIBS" |
| 16481 | LIBS="$LIBS $LIBINTL" |
| 16482 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16483 | /* end confdefs.h. */ |
| 16484 | #include <libintl.h> |
| 16485 | $gt_revision_test_code |
| 16486 | extern int _nl_msg_cat_cntr; |
| 16487 | extern |
| 16488 | #ifdef __cplusplus |
| 16489 | "C" |
| 16490 | #endif |
| 16491 | const char *_nl_expand_alias (const char *); |
| 16492 | int |
| 16493 | main () |
| 16494 | { |
| 16495 | bindtextdomain ("", ""); |
| 16496 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
| 16497 | ; |
| 16498 | return 0; |
| 16499 | } |
| 16500 | _ACEOF |
| 16501 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 16502 | eval "$gt_func_gnugettext_libintl=yes" |
| 16503 | else |
| 16504 | eval "$gt_func_gnugettext_libintl=no" |
| 16505 | fi |
| 16506 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 16507 | conftest$ac_exeext conftest.$ac_ext |
| 16508 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" != yes; } && testscip-shell system . . test. -n "$LIBICONV"; then |
| 16509 | LIBS="$LIBS $LIBICONV" |
| 16510 | catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 16511 | /* end confdefs.h. */ |
| 16512 | #include <libintl.h> |
| 16513 | $gt_revision_test_code |
| 16514 | extern int _nl_msg_cat_cntr; |
| 16515 | extern |
| 16516 | #ifdef __cplusplus |
| 16517 | "C" |
| 16518 | #endif |
| 16519 | const char *_nl_expand_alias (const char *); |
| 16520 | int |
| 16521 | main () |
| 16522 | { |
| 16523 | bindtextdomain ("", ""); |
| 16524 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
| 16525 | ; |
| 16526 | return 0; |
| 16527 | } |
| 16528 | _ACEOF |
| 16529 | if ac_fn_c_try_linkscip-shell shell cppi 1.18-6 ac_fn_c_try_link(). "$LINENO"; then : |
| 16530 | LIBINTL="$LIBINTL $LIBICONV" |
| 16531 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
| 16532 | eval "$gt_func_gnugettext_libintl=yes" |
| 16533 | |
| 16534 | fi |
| 16535 | rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext \ |
| 16536 | conftest$ac_exeext conftest.$ac_ext |
| 16537 | fi |
| 16538 | CPPFLAGS="$gt_save_CPPFLAGS" |
| 16539 | LIBS="$gt_save_LIBS" |
| 16540 | fi |
| 16541 | eval ac_res=\$$gt_func_gnugettext_libintl |
| 16542 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 16543 | printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; } |
| 16544 | fi |
| 16545 | |
| 16546 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; testscip-shell system . . test. "$gt_val" = "yes"; } \ |
| 16547 | || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; } \ |
| 16548 | && testscip-shell system . . test. "$PACKAGE" != gettext-runtime \ |
| 16549 | && testscip-shell system . . test. "$PACKAGE" != gettext-tools; }; then |
| 16550 | gt_use_preinstalled_gnugettext=yes |
| 16551 | else |
| 16552 | LIBINTL= |
| 16553 | LTLIBINTL= |
| 16554 | INCINTL= |
| 16555 | fi |
| 16556 | |
| 16557 | |
| 16558 | |
| 16559 | if testscip-shell system . . test. -n "$INTL_MACOSX_LIBS"; then |
| 16560 | if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 16561 | || testscip-shell system . . test. "$nls_cv_use_gnu_gettext" = "yes"; then |
| 16562 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
| 16563 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
| 16564 | fi |
| 16565 | fi |
| 16566 | |
| 16567 | if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes" \ |
| 16568 | || testscip-shell system . . test. "$nls_cv_use_gnu_gettext" = "yes"; then |
| 16569 | |
| 16570 | printfscip-shell system . . printf. "%s\n" "#define ENABLE_NLS 1" >>confdefs.h |
| 16571 | |
| 16572 | else |
| 16573 | USE_NLS=no |
| 16574 | fi |
| 16575 | fi |
| 16576 | |
| 16577 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
| 16578 | printfscip-shell system . . printf. %s "checking whether to use NLS... " >&6; } |
| 16579 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
| 16580 | printfscip-shell system . . printf. "%s\n" "$USE_NLS" >&6; } |
| 16581 | if testscip-shell system . . test. "$USE_NLS" = "yes"; then |
| 16582 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 |
| 16583 | printfscip-shell system . . printf. %s "checking where the gettext function comes from... " >&6; } |
| 16584 | if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 16585 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; }; then |
| 16586 | gt_source="external libintl" |
| 16587 | else |
| 16588 | gt_source="libc" |
| 16589 | fi |
| 16590 | else |
| 16591 | gt_source="included intl directory" |
| 16592 | fi |
| 16593 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
| 16594 | printfscip-shell system . . printf. "%s\n" "$gt_source" >&6; } |
| 16595 | fi |
| 16596 | |
| 16597 | if testscip-shell system . . test. "$USE_NLS" = "yes"; then |
| 16598 | |
| 16599 | if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes"; then |
| 16600 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; }; then |
| 16601 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
| 16602 | printfscip-shell system . . printf. %s "checking how to link with libintl... " >&6; } |
| 16603 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
| 16604 | printfscip-shell system . . printf. "%s\n" "$LIBINTL" >&6; } |
| 16605 | |
| 16606 | for element in $INCINTL; do |
| 16607 | haveit= |
| 16608 | for x in $CPPFLAGS; do |
| 16609 | |
| 16610 | acl_save_prefix="$prefix" |
| 16611 | prefix="$acl_final_prefix" |
| 16612 | acl_save_exec_prefix="$exec_prefix" |
| 16613 | exec_prefix="$acl_final_exec_prefix" |
| 16614 | eval x=\"$x\" |
| 16615 | exec_prefix="$acl_save_exec_prefix" |
| 16616 | prefix="$acl_save_prefix" |
| 16617 | |
| 16618 | if testscip-shell system . . test. "X$x" = "X$element"; then |
| 16619 | haveit=yes |
| 16620 | break |
| 16621 | fi |
| 16622 | done |
| 16623 | if testscip-shell system . . test. -z "$haveit"; then |
| 16624 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
| 16625 | fi |
| 16626 | done |
| 16627 | |
| 16628 | fi |
| 16629 | |
| 16630 | |
| 16631 | printfscip-shell system . . printf. "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h |
| 16632 | |
| 16633 | |
| 16634 | printfscip-shell system . . printf. "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h |
| 16635 | |
| 16636 | fi |
| 16637 | |
| 16638 | POSUB=po |
| 16639 | fi |
| 16640 | |
| 16641 | |
| 16642 | |
| 16643 | INTLLIBS="$LIBINTL" |
| 16644 | |
| 16645 | |
| 16646 | |
| 16647 | |
| 16648 | |
| 16649 | |
| 16650 | |
| 16651 | |
| 16652 | # Now that configure no longer creates src/ or man/, create them here. |
| 16653 | # Doing it this way is more maintainable that adding to each individual |
| 16654 | # Makefile rule that creates a file in one of those sub-directories. |
| 16655 | $MKDIR_P man src |
| 16656 | |
| 16657 | ac_config_files="$ac_config_files Makefile po/Makefile.in" |
| 16658 | |
| 16659 | catscip-shell system . . cat. >confcache <<\_ACEOF |
| 16660 | # This file is a shell script that caches the results of configure |
| 16661 | # tests run on this system so they can be shared between configure |
| 16662 | # scripts and configure runs, see configure's option --config-cache. |
| 16663 | # It is not useful on other systems. If it contains results you don't |
| 16664 | # want to keep, you may remove or edit it. |
| 16665 | # |
| 16666 | # config.status only pays attention to the cache file if you give it |
| 16667 | # the --recheck option to rerun configure. |
| 16668 | # |
| 16669 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 16670 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 16671 | # following values. |
| 16672 | |
| 16673 | _ACEOF |
| 16674 | |
| 16675 | # The following way of writing the cache mishandles newlines in values, |
| 16676 | # but we know of no workaround that is simple, portable, and efficient. |
| 16677 | # So, we kill variables containing newlines. |
| 16678 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 16679 | # and sets the high bit in the cache file unless we assign to the vars. |
| 16680 | ( |
| 16681 | for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 16682 | eval ac_val=\$$ac_var |
| 16683 | case $ac_val in #( |
| 16684 | *${as_nl}*) |
| 16685 | case $ac_var in #( |
| 16686 | *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 16687 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 16688 | esac |
| 16689 | case $ac_var in #( |
| 16690 | _ | IFS | as_nl) ;; #( |
| 16691 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 16692 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 16693 | esac ;; |
| 16694 | esac |
| 16695 | done |
| 16696 | |
| 16697 | (set) 2>&1 | |
| 16698 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 16699 | *${as_nl}ac_space=\ *) |
| 16700 | # `set' does not quote correctly, so add quotes: double-quote |
| 16701 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
| 16702 | sedscip-shell system . . sed. -n \ |
| 16703 | "s/'/'\\\\''/g; |
| 16704 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 16705 | ;; #( |
| 16706 | *) |
| 16707 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 16708 | sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 16709 | ;; |
| 16710 | esac | |
| 16711 | sortscip-shell system . . sort. |
| 16712 | ) | |
| 16713 | sedscip-shell system . . sed. ' |
| 16714 | /^ac_cv_env_/b end |
| 16715 | t clear |
| 16716 | :clear |
| 16717 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 16718 | t end |
| 16719 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 16720 | :end' >>confcache |
| 16721 | if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else |
| 16722 | if testscip-shell system . . test. -w "$cache_file"; then |
| 16723 | if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then |
| 16724 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 16725 | printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;} |
| 16726 | if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then |
| 16727 | catscip-shell system . . cat. confcache >"$cache_file" |
| 16728 | else |
| 16729 | case $cache_file in #( |
| 16730 | */* | ?:*) |
| 16731 | mvscip-shell system . . mv. -f confcache "$cache_file"$$ && |
| 16732 | mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #( |
| 16733 | *) |
| 16734 | mvscip-shell system . . mv. -f confcache "$cache_file" ;; |
| 16735 | esac |
| 16736 | fi |
| 16737 | fi |
| 16738 | else |
| 16739 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 16740 | printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 16741 | fi |
| 16742 | fi |
| 16743 | rmscip-shell system . . rm. -f confcache |
| 16744 | |
| 16745 | testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 16746 | # Let make expand exec_prefix. |
| 16747 | testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 16748 | |
| 16749 | DEFS=-DHAVE_CONFIG_H |
| 16750 | |
| 16751 | ac_libobjs= |
| 16752 | ac_ltlibobjs= |
| 16753 | for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue |
| 16754 | # 1. Remove the extension, and $U if already installed. |
| 16755 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 16756 | ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"` |
| 16757 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 16758 | # will be set to the directory where LIBOBJS objects are built. |
| 16759 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 16760 | as_fn_appendscip-shell shell cppi 1.18-6 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 16761 | done |
| 16762 | LIBOBJS=$ac_libobjs |
| 16763 | |
| 16764 | LTLIBOBJS=$ac_ltlibobjs |
| 16765 | |
| 16766 | |
| 16767 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 16768 | printfscip-shell system . . printf. %s "checking that generated files are newer than configure... " >&6; } |
| 16769 | if testscip-shell system . . test. -n "$am_sleep_pid"; then |
| 16770 | # Hide warnings about reused PIDs. |
| 16771 | wait $am_sleep_pid 2>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 16772 | fi |
| 16773 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 16774 | printfscip-shell system . . printf. "%s\n" "done" >&6; } |
| 16775 | if testscip-shell system . . test. -n "$EXEEXT"; then |
| 16776 | am__EXEEXT_TRUE= |
| 16777 | am__EXEEXT_FALSE='#' |
| 16778 | else |
| 16779 | am__EXEEXT_TRUE='#' |
| 16780 | am__EXEEXT_FALSE= |
| 16781 | fi |
| 16782 | |
| 16783 | if testscip-shell system . . test. -z "${AMDEP_TRUE}" && testscip-shell system . . test. -z "${AMDEP_FALSE}"; then |
| 16784 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"AMDEP\" was never defined. |
| 16785 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16786 | fi |
| 16787 | if testscip-shell system . . test. -z "${am__fastdepCC_TRUE}" && testscip-shell system . . test. -z "${am__fastdepCC_FALSE}"; then |
| 16788 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"am__fastdepCC\" was never defined. |
| 16789 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16790 | fi |
| 16791 | if testscip-shell system . . test. -z "${GL_COND_LIBTOOL_TRUE}" && testscip-shell system . . test. -z "${GL_COND_LIBTOOL_FALSE}"; then |
| 16792 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_COND_LIBTOOL\" was never defined. |
| 16793 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16794 | fi |
| 16795 | testscip-shell system . . test. "X$DEFS" = X-DHAVE_CONFIG_H && DEFS= |
| 16796 | if testscip-shell system . . test. -z "${GL_GENERATE_ERRNO_H_TRUE}" && testscip-shell system . . test. -z "${GL_GENERATE_ERRNO_H_FALSE}"; then |
| 16797 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined. |
| 16798 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16799 | fi |
| 16800 | if testscip-shell system . . test. -z "${GL_GENERATE_STDINT_H_TRUE}" && testscip-shell system . . test. -z "${GL_GENERATE_STDINT_H_FALSE}"; then |
| 16801 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_GENERATE_STDINT_H\" was never defined. |
| 16802 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16803 | fi |
| 16804 | CONFIG_INCLUDE=lib/config.h |
| 16805 | |
| 16806 | |
| 16807 | |
| 16808 | |
| 16809 | # Tell AC_LIBSOURCES where to find source files like alloca.c. |
| 16810 | |
| 16811 | |
| 16812 | # This hack originated in bison. It is required when using non-recursive |
| 16813 | # automake rules to build from gnulib-provided lib/ sources. Hence, LIB_DIR |
| 16814 | # is usually simply "lib". Those rules use the list of names like "fchdir.o" |
| 16815 | # and "strstr.o" in gl_LIBOBJS. With non-recursive make, we must prefix each |
| 16816 | # such file name with the "lib/" prefix. See also build-aux/prefix-gnulib-mk. |
| 16817 | gl_LIBOBJS=`echoscip-shell system . . echo. "$gl_LIBOBJS" | sedscip-shell system . . sed. -e 's, , lib/,g'` |
| 16818 | |
| 16819 | # Listing the names of the variables to prefix is error-prone. |
| 16820 | # Rather, adjust each AC_SUBST'd variable whose name ends in '_H' |
| 16821 | # and whose value ends in '.h'. |
| 16822 | for ac_var in $ac_subst_vars |
| 16823 | do |
| 16824 | eval "ac_val=\$$ac_var" |
| 16825 | case $ac_var:$ac_val in |
| 16826 | (*_H:*.h) eval "$ac_var=lib/\$$ac_var";; |
| 16827 | esac |
| 16828 | done |
| 16829 | |
| 16830 | |
| 16831 | if testscip-shell system . . test. -z "${GL_GENERATE_STDARG_H_TRUE}" && testscip-shell system . . test. -z "${GL_GENERATE_STDARG_H_FALSE}"; then |
| 16832 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_GENERATE_STDARG_H\" was never defined. |
| 16833 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16834 | fi |
| 16835 | if testscip-shell system . . test. -z "${GL_GENERATE_STDBOOL_H_TRUE}" && testscip-shell system . . test. -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then |
| 16836 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. |
| 16837 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16838 | fi |
| 16839 | if testscip-shell system . . test. -z "${GL_GENERATE_STDDEF_H_TRUE}" && testscip-shell system . . test. -z "${GL_GENERATE_STDDEF_H_FALSE}"; then |
| 16840 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined. |
| 16841 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 16842 | fi |
| 16843 | |
| 16844 | gl_libobjs= |
| 16845 | gl_ltlibobjs= |
| 16846 | if testscip-shell system . . test. -n "$gl_LIBOBJS"; then |
| 16847 | # Remove the extension. |
| 16848 | sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 16849 | for i in `for i in $gl_LIBOBJS; do echoscip-shell system . . echo. "$i"; done | sedscip-shell system . . sed. -e "$sed_drop_objext" | sortscip-shell system . . sort. | uniqscip-shell system . . uniq.`; do |
| 16850 | gl_libobjs="$gl_libobjs $i.$ac_objext" |
| 16851 | gl_ltlibobjs="$gl_ltlibobjs $i.lo" |
| 16852 | done |
| 16853 | fi |
| 16854 | gl_LIBOBJS=$gl_libobjs |
| 16855 | |
| 16856 | gl_LTLIBOBJS=$gl_ltlibobjs |
| 16857 | |
| 16858 | |
| 16859 | |
| 16860 | gltests_libobjs= |
| 16861 | gltests_ltlibobjs= |
| 16862 | if testscip-shell system . . test. -n "$gltests_LIBOBJS"; then |
| 16863 | # Remove the extension. |
| 16864 | sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 16865 | for i in `for i in $gltests_LIBOBJS; do echoscip-shell system . . echo. "$i"; done | sedscip-shell system . . sed. -e "$sed_drop_objext" | sortscip-shell system . . sort. | uniqscip-shell system . . uniq.`; do |
| 16866 | gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
| 16867 | gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" |
| 16868 | done |
| 16869 | fi |
| 16870 | gltests_LIBOBJS=$gltests_libobjs |
| 16871 | |
| 16872 | gltests_LTLIBOBJS=$gltests_ltlibobjs |
| 16873 | |
| 16874 | |
| 16875 | |
| 16876 | : "${CONFIG_STATUS=./config.status}" |
| 16877 | ac_write_fail=0 |
| 16878 | ac_clean_files_save=$ac_clean_files |
| 16879 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 16880 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 16881 | printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
| 16882 | as_write_fail=0 |
| 16883 | catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 16884 | #! $SHELL |
| 16885 | # Generated by $as_me. |
| 16886 | # Run this file to recreate the current configuration. |
| 16887 | # Compiler output produced by configure, useful for debugging |
| 16888 | # configure, is in config.log if it exists. |
| 16889 | |
| 16890 | debug=false |
| 16891 | ac_cs_recheck=false |
| 16892 | ac_cs_silent=false |
| 16893 | |
| 16894 | SHELL=\${CONFIG_SHELL-$SHELL} |
| 16895 | export SHELL |
| 16896 | _ASEOF |
| 16897 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 16898 | ## -------------------- ## |
| 16899 | ## M4sh Initialization. ## |
| 16900 | ## -------------------- ## |
| 16901 | |
| 16902 | # Be more Bourne compatible |
| 16903 | DUALCASE=1; export DUALCASE # for MKS sh |
| 16904 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 16905 | emulate sh |
| 16906 | NULLCMD=: |
| 16907 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 16908 | # is contrary to our usage. Disable this feature. |
| 16909 | alias -g '${1+"$@"}'='"$@"' |
| 16910 | setopt NO_GLOB_SUBST |
| 16911 | else |
| 16912 | case `(set -o) 2>/dev/null` in #( |
| 16913 | *posix*) : |
| 16914 | set -o posix ;; #( |
| 16915 | *) : |
| 16916 | ;; |
| 16917 | esac |
| 16918 | fi |
| 16919 | |
| 16920 | |
| 16921 | # The user is always right. |
| 16922 | if test "${PATH_SEPARATOR+set}" != set; then |
| 16923 | PATH_SEPARATOR=: |
| 16924 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 16925 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 16926 | PATH_SEPARATOR=';' |
| 16927 | } |
| 16928 | fi |
| 16929 | |
| 16930 | |
| 16931 | # IFS |
| 16932 | # We need space, tab and new line, in precisely that order. Quoting is |
| 16933 | # there to prevent editors from complaining about space-tab. |
| 16934 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 16935 | # splitting by setting IFS to empty value.) |
| 16936 | as_nl=' |
| 16937 | ' |
| 16938 | export as_nl |
| 16939 | IFS=" "" $as_nl" |
| 16940 | |
| 16941 | # Find who we are. Look in the path if we contain no directory separator. |
| 16942 | as_myself= |
| 16943 | case $0 in #(( |
| 16944 | *[\\/]* ) as_myself=$0 ;; |
| 16945 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 16946 | for as_dir in $PATH |
| 16947 | do |
| 16948 | IFS=$as_save_IFS |
| 16949 | case $as_dir in #((( |
| 16950 | '') as_dir=./ ;; |
| 16951 | */) ;; |
| 16952 | *) as_dir=$as_dir/ ;; |
| 16953 | esac |
| 16954 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 16955 | done |
| 16956 | IFS=$as_save_IFS |
| 16957 | |
| 16958 | ;; |
| 16959 | esac |
| 16960 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 16961 | # in which case we are not to be found in the path. |
| 16962 | if test "x$as_myself" = x; then |
| 16963 | as_myself=$0 |
| 16964 | fi |
| 16965 | if test ! -f "$as_myself"; then |
| 16966 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 16967 | exit 1 |
| 16968 | fi |
| 16969 | |
| 16970 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 16971 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 16972 | # suppresses any "Segmentation fault" message there. '((' could |
| 16973 | # trigger a bug in pdksh 5.2.14. |
| 16974 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 16975 | do eval test x\${$as_var+set} = xset \ |
| 16976 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 16977 | done |
| 16978 | PS1='$ ' |
| 16979 | PS2='> ' |
| 16980 | PS4='+ ' |
| 16981 | |
| 16982 | # NLS nuisances. |
| 16983 | LC_ALL=C |
| 16984 | export LC_ALL |
| 16985 | LANGUAGE=C |
| 16986 | export LANGUAGE |
| 16987 | |
| 16988 | # CDPATH. |
| 16989 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 16990 | |
| 16991 | |
| 16992 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 16993 | # ---------------------------------------- |
| 16994 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 16995 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 16996 | # script with STATUS, using 1 if that was 0. |
| 16997 | as_fn_error () |
| 16998 | { |
| 16999 | as_status=$1; test $as_status -eq 0 && as_status=1 |
| 17000 | if test "$4"; then |
| 17001 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 17002 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 17003 | fi |
| 17004 | printf "%s\n" "$as_me: error: $2" >&2 |
| 17005 | as_fn_exit $as_status |
| 17006 | } # as_fn_error |
| 17007 | |
| 17008 | |
| 17009 | # as_fn_set_status STATUS |
| 17010 | # ----------------------- |
| 17011 | # Set $? to STATUS, without forking. |
| 17012 | as_fn_set_status () |
| 17013 | { |
| 17014 | return $1 |
| 17015 | } # as_fn_set_status |
| 17016 | |
| 17017 | # as_fn_exit STATUS |
| 17018 | # ----------------- |
| 17019 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 17020 | as_fn_exit () |
| 17021 | { |
| 17022 | set +e |
| 17023 | as_fn_set_status $1 |
| 17024 | exit $1 |
| 17025 | } # as_fn_exit |
| 17026 | |
| 17027 | # as_fn_unset VAR |
| 17028 | # --------------- |
| 17029 | # Portably unset VAR. |
| 17030 | as_fn_unset () |
| 17031 | { |
| 17032 | { eval $1=; unset $1;} |
| 17033 | } |
| 17034 | as_unset=as_fn_unset |
| 17035 | # as_fn_append VAR VALUE |
| 17036 | # ---------------------- |
| 17037 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 17038 | # advantage of any shell optimizations that allow amortized linear growth over |
| 17039 | # repeated appends, instead of the typical quadratic growth present in naive |
| 17040 | # implementations. |
| 17041 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 17042 | eval 'as_fn_append () |
| 17043 | { |
| 17044 | eval $1+=\$2 |
| 17045 | }' |
| 17046 | else |
| 17047 | as_fn_append () |
| 17048 | { |
| 17049 | eval $1=\$$1\$2 |
| 17050 | } |
| 17051 | fi # as_fn_append |
| 17052 | |
| 17053 | # as_fn_arith ARG... |
| 17054 | # ------------------ |
| 17055 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 17056 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 17057 | # must be portable across $(()) and expr. |
| 17058 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 17059 | eval 'as_fn_arith () |
| 17060 | { |
| 17061 | as_val=$(( $* )) |
| 17062 | }' |
| 17063 | else |
| 17064 | as_fn_arith () |
| 17065 | { |
| 17066 | as_val=`expr "$@" || test $? -eq 1` |
| 17067 | } |
| 17068 | fi # as_fn_arith |
| 17069 | |
| 17070 | |
| 17071 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 17072 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 17073 | as_expr=expr |
| 17074 | else |
| 17075 | as_expr=false |
| 17076 | fi |
| 17077 | |
| 17078 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 17079 | as_basename=basename |
| 17080 | else |
| 17081 | as_basename=false |
| 17082 | fi |
| 17083 | |
| 17084 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 17085 | as_dirname=dirname |
| 17086 | else |
| 17087 | as_dirname=false |
| 17088 | fi |
| 17089 | |
| 17090 | as_me=`$as_basename -- "$0" || |
| 17091 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 17092 | X"$0" : 'X\(//\)$' \| \ |
| 17093 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 17094 | printf "%s\n" X/"$0" | |
| 17095 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 17096 | s//\1/ |
| 17097 | q |
| 17098 | } |
| 17099 | /^X\/\(\/\/\)$/{ |
| 17100 | s//\1/ |
| 17101 | q |
| 17102 | } |
| 17103 | /^X\/\(\/\).*/{ |
| 17104 | s//\1/ |
| 17105 | q |
| 17106 | } |
| 17107 | s/.*/./; q'` |
| 17108 | |
| 17109 | # Avoid depending upon Character Ranges. |
| 17110 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 17111 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 17112 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 17113 | as_cr_digits='0123456789' |
| 17114 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 17115 | |
| 17116 | ECHO_C= ECHO_N= ECHO_T= |
| 17117 | case `echo -n x` in #((((( |
| 17118 | -n*) |
| 17119 | case `echo 'xy\c'` in |
| 17120 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 17121 | xy) ECHO_C='\c';; |
| 17122 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 17123 | ECHO_T=' ';; |
| 17124 | esac;; |
| 17125 | *) |
| 17126 | ECHO_N='-n';; |
| 17127 | esac |
| 17128 | |
| 17129 | rm -f conf$$ conf$$.exe conf$$.file |
| 17130 | if test -d conf$$.dir; then |
| 17131 | rm -f conf$$.dir/conf$$.file |
| 17132 | else |
| 17133 | rm -f conf$$.dir |
| 17134 | mkdir conf$$.dir 2>/dev/null |
| 17135 | fi |
| 17136 | if (echo >conf$$.file) 2>/dev/null; then |
| 17137 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 17138 | as_ln_s='ln -s' |
| 17139 | # ... but there are two gotchas: |
| 17140 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 17141 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 17142 | # In both cases, we have to default to `cp -pR'. |
| 17143 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 17144 | as_ln_s='cp -pR' |
| 17145 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 17146 | as_ln_s=ln |
| 17147 | else |
| 17148 | as_ln_s='cp -pR' |
| 17149 | fi |
| 17150 | else |
| 17151 | as_ln_s='cp -pR' |
| 17152 | fi |
| 17153 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 17154 | rmdir conf$$.dir 2>/dev/null |
| 17155 | |
| 17156 | |
| 17157 | # as_fn_mkdir_p |
| 17158 | # ------------- |
| 17159 | # Create "$as_dir" as a directory, including parents if necessary. |
| 17160 | as_fn_mkdir_p () |
| 17161 | { |
| 17162 | |
| 17163 | case $as_dir in #( |
| 17164 | -*) as_dir=./$as_dir;; |
| 17165 | esac |
| 17166 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 17167 | as_dirs= |
| 17168 | while :; do |
| 17169 | case $as_dir in #( |
| 17170 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 17171 | *) as_qdir=$as_dir;; |
| 17172 | esac |
| 17173 | as_dirs="'$as_qdir' $as_dirs" |
| 17174 | as_dir=`$as_dirname -- "$as_dir" || |
| 17175 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17176 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 17177 | X"$as_dir" : 'X\(//\)$' \| \ |
| 17178 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 17179 | printf "%s\n" X"$as_dir" | |
| 17180 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17181 | s//\1/ |
| 17182 | q |
| 17183 | } |
| 17184 | /^X\(\/\/\)[^/].*/{ |
| 17185 | s//\1/ |
| 17186 | q |
| 17187 | } |
| 17188 | /^X\(\/\/\)$/{ |
| 17189 | s//\1/ |
| 17190 | q |
| 17191 | } |
| 17192 | /^X\(\/\).*/{ |
| 17193 | s//\1/ |
| 17194 | q |
| 17195 | } |
| 17196 | s/.*/./; q'` |
| 17197 | test -d "$as_dir" && break |
| 17198 | done |
| 17199 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 17200 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 17201 | |
| 17202 | |
| 17203 | } # as_fn_mkdir_p |
| 17204 | if mkdir -p . 2>/dev/null; then |
| 17205 | as_mkdir_p='mkdir -p "$as_dir"' |
| 17206 | else |
| 17207 | test -d ./-p && rmdir ./-p |
| 17208 | as_mkdir_p=false |
| 17209 | fi |
| 17210 | |
| 17211 | |
| 17212 | # as_fn_executable_p FILE |
| 17213 | # ----------------------- |
| 17214 | # Test if FILE is an executable regular file. |
| 17215 | as_fn_executable_p () |
| 17216 | { |
| 17217 | test -f "$1" && test -x "$1" |
| 17218 | } # as_fn_executable_p |
| 17219 | as_test_x='test -x' |
| 17220 | as_executable_p=as_fn_executable_p |
| 17221 | |
| 17222 | # Sed expression to map a string onto a valid CPP name. |
| 17223 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 17224 | |
| 17225 | # Sed expression to map a string onto a valid variable name. |
| 17226 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 17227 | |
| 17228 | |
| 17229 | exec 6>&1 |
| 17230 | ## ----------------------------------- ## |
| 17231 | ## Main body of $CONFIG_STATUS script. ## |
| 17232 | ## ----------------------------------- ## |
| 17233 | _ASEOF |
| 17234 | testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1 |
| 17235 | |
| 17236 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17237 | # Save the log message, to keep $0 and so on meaningful, and to |
| 17238 | # report actual input values of CONFIG_FILES etc. instead of their |
| 17239 | # values after options handling. |
| 17240 | ac_log=" |
| 17241 | This file was extended by GNU cppi $as_me 1.18, which was |
| 17242 | generated by GNU Autoconf 2.69.77-845e7. Invocation command line was |
| 17243 | |
| 17244 | CONFIG_FILES = $CONFIG_FILES |
| 17245 | CONFIG_HEADERS = $CONFIG_HEADERS |
| 17246 | CONFIG_LINKS = $CONFIG_LINKS |
| 17247 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 17248 | $ $0 $@ |
| 17249 | |
| 17250 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 17251 | " |
| 17252 | |
| 17253 | _ACEOF |
| 17254 | |
| 17255 | case $ac_config_files in *" |
| 17256 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 17257 | esac |
| 17258 | |
| 17259 | case $ac_config_headers in *" |
| 17260 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
| 17261 | esac |
| 17262 | |
| 17263 | |
| 17264 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17265 | # Files that config.status was made for. |
| 17266 | config_files="$ac_config_files" |
| 17267 | config_headers="$ac_config_headers" |
| 17268 | config_links="$ac_config_links" |
| 17269 | config_commands="$ac_config_commands" |
| 17270 | |
| 17271 | _ACEOF |
| 17272 | |
| 17273 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17274 | ac_cs_usage="\ |
| 17275 | \`$as_me' instantiates files and other configuration actions |
| 17276 | from templates according to the current configuration. Unless the files |
| 17277 | and actions are specified as TAGs, all are instantiated by default. |
| 17278 | |
| 17279 | Usage: $0 [OPTION]... [TAG]... |
| 17280 | |
| 17281 | -h, --help print this help, then exit |
| 17282 | -V, --version print version number and configuration settings, then exit |
| 17283 | --config print configuration, then exit |
| 17284 | -q, --quiet, --silent |
| 17285 | do not print progress messages |
| 17286 | -d, --debug don't remove temporary files |
| 17287 | --recheck update $as_me by reconfiguring in the same conditions |
| 17288 | --file=FILE[:TEMPLATE] |
| 17289 | instantiate the configuration file FILE |
| 17290 | --header=FILE[:TEMPLATE] |
| 17291 | instantiate the configuration header FILE |
| 17292 | |
| 17293 | Configuration files: |
| 17294 | $config_files |
| 17295 | |
| 17296 | Configuration headers: |
| 17297 | $config_headers |
| 17298 | |
| 17299 | Configuration links: |
| 17300 | $config_links |
| 17301 | |
| 17302 | Configuration commands: |
| 17303 | $config_commands |
| 17304 | |
| 17305 | Report bugs to <[email protected]>. |
| 17306 | GNU cppi home page: <http://www.gnu.org/software/cppi/>. |
| 17307 | General help using GNU software: <http://www.gnu.org/gethelp/>." |
| 17308 | |
| 17309 | _ACEOF |
| 17310 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17311 | ac_cs_config="`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 17312 | ac_cs_version="\\ |
| 17313 | GNU cppi config.status 1.18 |
| 17314 | configured by $0, generated by GNU Autoconf 2.69.77-845e7, |
| 17315 | with options \\"\$ac_cs_config\\" |
| 17316 | |
| 17317 | Copyright (C) Free Software Foundation, Inc. |
| 17318 | This config.status script is free software; the Free Software Foundation |
| 17319 | gives unlimited permission to copy, distribute and modify it." |
| 17320 | |
| 17321 | ac_pwd='$ac_pwd' |
| 17322 | srcdir='$srcdir' |
| 17323 | INSTALL='$INSTALL' |
| 17324 | MKDIR_P='$MKDIR_P' |
| 17325 | AWK='$AWK' |
| 17326 | test -n "\$AWK" || AWK=awk |
| 17327 | _ACEOF |
| 17328 | |
| 17329 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17330 | # The default lists apply if the user does not specify any file. |
| 17331 | ac_need_defaults=: |
| 17332 | while test $# != 0 |
| 17333 | do |
| 17334 | case $1 in |
| 17335 | --*=?*) |
| 17336 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 17337 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 17338 | ac_shift=: |
| 17339 | ;; |
| 17340 | --*=) |
| 17341 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 17342 | ac_optarg= |
| 17343 | ac_shift=: |
| 17344 | ;; |
| 17345 | *) |
| 17346 | ac_option=$1 |
| 17347 | ac_optarg=$2 |
| 17348 | ac_shift=shift |
| 17349 | ;; |
| 17350 | esac |
| 17351 | |
| 17352 | case $ac_option in |
| 17353 | # Handling of the options. |
| 17354 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 17355 | ac_cs_recheck=: ;; |
| 17356 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 17357 | printf "%s\n" "$ac_cs_version"; exit ;; |
| 17358 | --config | --confi | --conf | --con | --co | --c ) |
| 17359 | printf "%s\n" "$ac_cs_config"; exit ;; |
| 17360 | --debug | --debu | --deb | --de | --d | -d ) |
| 17361 | debug=: ;; |
| 17362 | --file | --fil | --fi | --f ) |
| 17363 | $ac_shift |
| 17364 | case $ac_optarg in |
| 17365 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 17366 | '') as_fn_error $? "missing file argument" ;; |
| 17367 | esac |
| 17368 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 17369 | ac_need_defaults=false;; |
| 17370 | --header | --heade | --head | --hea ) |
| 17371 | $ac_shift |
| 17372 | case $ac_optarg in |
| 17373 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 17374 | esac |
| 17375 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
| 17376 | ac_need_defaults=false;; |
| 17377 | --he | --h) |
| 17378 | # Conflict between --help and --header |
| 17379 | as_fn_error $? "ambiguous option: \`$1' |
| 17380 | Try \`$0 --help' for more information.";; |
| 17381 | --help | --hel | -h ) |
| 17382 | printf "%s\n" "$ac_cs_usage"; exit ;; |
| 17383 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 17384 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 17385 | ac_cs_silent=: ;; |
| 17386 | |
| 17387 | # This is an error. |
| 17388 | -*) as_fn_error $? "unrecognized option: \`$1' |
| 17389 | Try \`$0 --help' for more information." ;; |
| 17390 | |
| 17391 | *) as_fn_append ac_config_targets " $1" |
| 17392 | ac_need_defaults=false ;; |
| 17393 | |
| 17394 | esac |
| 17395 | shift |
| 17396 | done |
| 17397 | |
| 17398 | ac_configure_extra_args= |
| 17399 | |
| 17400 | if $ac_cs_silent; then |
| 17401 | exec 6>/dev/null |
| 17402 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 17403 | fi |
| 17404 | |
| 17405 | _ACEOF |
| 17406 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17407 | if \$ac_cs_recheck; then |
| 17408 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 17409 | shift |
| 17410 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 17411 | CONFIG_SHELL='$SHELL' |
| 17412 | export CONFIG_SHELL |
| 17413 | exec "\$@" |
| 17414 | fi |
| 17415 | |
| 17416 | _ACEOF |
| 17417 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17418 | exec 5>>config.log |
| 17419 | { |
| 17420 | echo |
| 17421 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 17422 | ## Running $as_me. ## |
| 17423 | _ASBOX |
| 17424 | printf "%s\n" "$ac_log" |
| 17425 | } >&5 |
| 17426 | |
| 17427 | _ACEOF |
| 17428 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17429 | # |
| 17430 | # INIT-COMMANDS |
| 17431 | # |
| 17432 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 17433 | GNUmakefile=$GNUmakefile |
| 17434 | # Capture the value of obsolete ALL_LINGUAS because we need it to compute |
| 17435 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
| 17436 | # from automake < 1.5. |
| 17437 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
| 17438 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
| 17439 | LINGUAS="${LINGUAS-%UNSET%}" |
| 17440 | |
| 17441 | |
| 17442 | _ACEOF |
| 17443 | |
| 17444 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17445 | |
| 17446 | # Handling of arguments. |
| 17447 | for ac_config_target in $ac_config_targets |
| 17448 | do |
| 17449 | case $ac_config_target in |
| 17450 | "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h:config.hin" ;; |
| 17451 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 17452 | "$GNUmakefile") CONFIG_LINKS="$CONFIG_LINKS $GNUmakefile:$GNUmakefile" ;; |
| 17453 | "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; |
| 17454 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 17455 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
| 17456 | |
| 17457 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 17458 | esac |
| 17459 | done |
| 17460 | |
| 17461 | |
| 17462 | # If the user did not use the arguments to specify the items to instantiate, |
| 17463 | # then the envvar interface is used. Set only those that are not. |
| 17464 | # We use the long form for the default assignment because of an extremely |
| 17465 | # bizarre bug on SunOS 4.1.3. |
| 17466 | if $ac_need_defaults; then |
| 17467 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 17468 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 17469 | test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links |
| 17470 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 17471 | fi |
| 17472 | |
| 17473 | # Have a temporary directory for convenience. Make it in the build tree |
| 17474 | # simply because there is no reason against having it here, and in addition, |
| 17475 | # creating and moving files from /tmp can sometimes cause problems. |
| 17476 | # Hook for its removal unless debugging. |
| 17477 | # Note that there is a small window in which the directory will not be cleaned: |
| 17478 | # after its creation but before its name has been assigned to `$tmp'. |
| 17479 | $debug || |
| 17480 | { |
| 17481 | tmp= ac_tmp= |
| 17482 | trap 'exit_status=$? |
| 17483 | : "${ac_tmp:=$tmp}" |
| 17484 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 17485 | ' 0 |
| 17486 | trap 'as_fn_exit 1' 1 2 13 15 |
| 17487 | } |
| 17488 | # Create a (secure) tmp directory for tmp files. |
| 17489 | |
| 17490 | { |
| 17491 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 17492 | test -d "$tmp" |
| 17493 | } || |
| 17494 | { |
| 17495 | tmp=./conf$$-$RANDOM |
| 17496 | (umask 077 && mkdir "$tmp") |
| 17497 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 17498 | ac_tmp=$tmp |
| 17499 | |
| 17500 | # Set up the scripts for CONFIG_FILES section. |
| 17501 | # No need to generate them if there are no CONFIG_FILES. |
| 17502 | # This happens for instance with `./config.status config.h'. |
| 17503 | if test -n "$CONFIG_FILES"; then |
| 17504 | |
| 17505 | |
| 17506 | ac_cr=`echo X | tr X '\015'` |
| 17507 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 17508 | # But we know of no other shell where ac_cr would be empty at this |
| 17509 | # point, so we can use a bashism as a fallback. |
| 17510 | if test "x$ac_cr" = x; then |
| 17511 | eval ac_cr=\$\'\\r\' |
| 17512 | fi |
| 17513 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 17514 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 17515 | ac_cs_awk_cr='\\r' |
| 17516 | else |
| 17517 | ac_cs_awk_cr=$ac_cr |
| 17518 | fi |
| 17519 | |
| 17520 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 17521 | _ACEOF |
| 17522 | |
| 17523 | |
| 17524 | { |
| 17525 | echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" && |
| 17526 | echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' && |
| 17527 | echoscip-shell system . . echo. "_ACEOF" |
| 17528 | } >conf$$subs.sh || |
| 17529 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 17530 | ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'` |
| 17531 | ac_delim='%!_!# ' |
| 17532 | for ac_last_try in false false false false false :; do |
| 17533 | . ./conf$$subs.sh || |
| 17534 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 17535 | |
| 17536 | ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X` |
| 17537 | if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then |
| 17538 | break |
| 17539 | elif $ac_last_try; then |
| 17540 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 17541 | else |
| 17542 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 17543 | fi |
| 17544 | done |
| 17545 | rmscip-shell system . . rm. -f conf$$subs.sh |
| 17546 | |
| 17547 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17548 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 17549 | _ACEOF |
| 17550 | sedscip-shell system . . sed. -n ' |
| 17551 | h |
| 17552 | s/^/S["/; s/!.*/"]=/ |
| 17553 | p |
| 17554 | g |
| 17555 | s/^[^!]*!// |
| 17556 | :repl |
| 17557 | t repl |
| 17558 | s/'"$ac_delim"'$// |
| 17559 | t delim |
| 17560 | :nl |
| 17561 | h |
| 17562 | s/\(.\{148\}\)..*/\1/ |
| 17563 | t more1 |
| 17564 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 17565 | p |
| 17566 | n |
| 17567 | b repl |
| 17568 | :more1 |
| 17569 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 17570 | p |
| 17571 | g |
| 17572 | s/.\{148\}// |
| 17573 | t nl |
| 17574 | :delim |
| 17575 | h |
| 17576 | s/\(.\{148\}\)..*/\1/ |
| 17577 | t more2 |
| 17578 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 17579 | p |
| 17580 | b |
| 17581 | :more2 |
| 17582 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 17583 | p |
| 17584 | g |
| 17585 | s/.\{148\}// |
| 17586 | t delim |
| 17587 | ' <conf$$subs.awk | sedscip-shell system . . sed. ' |
| 17588 | /^[^""]/{ |
| 17589 | N |
| 17590 | s/\n// |
| 17591 | } |
| 17592 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
| 17593 | rmscip-shell system . . rm. -f conf$$subs.awk |
| 17594 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17595 | _ACAWK |
| 17596 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 17597 | for (key in S) S_is_set[key] = 1 |
| 17598 | FS = "" |
| 17599 | |
| 17600 | } |
| 17601 | { |
| 17602 | line = $ 0 |
| 17603 | nfields = split(line, field, "@") |
| 17604 | substed = 0 |
| 17605 | len = length(field[1]) |
| 17606 | for (i = 2; i < nfields; i++) { |
| 17607 | key = field[i] |
| 17608 | keylen = length(key) |
| 17609 | if (S_is_set[key]) { |
| 17610 | value = S[key] |
| 17611 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 17612 | len += length(value) + length(field[++i]) |
| 17613 | substed = 1 |
| 17614 | } else |
| 17615 | len += 1 + keylen |
| 17616 | } |
| 17617 | |
| 17618 | print line |
| 17619 | } |
| 17620 | |
| 17621 | _ACAWK |
| 17622 | _ACEOF |
| 17623 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17624 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 17625 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 17626 | else |
| 17627 | cat |
| 17628 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 17629 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 17630 | _ACEOF |
| 17631 | |
| 17632 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 17633 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 17634 | # trailing colons and then remove the whole line if VPATH becomes empty |
| 17635 | # (actually we leave an empty line to preserve line numbers). |
| 17636 | if testscip-shell system . . test. "x$srcdir" = x.; then |
| 17637 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 17638 | h |
| 17639 | s/// |
| 17640 | s/^/:/ |
| 17641 | s/[ ]*$/:/ |
| 17642 | s/:\$(srcdir):/:/g |
| 17643 | s/:\${srcdir}:/:/g |
| 17644 | s/:@srcdir@:/:/g |
| 17645 | s/^:*// |
| 17646 | s/:*$// |
| 17647 | x |
| 17648 | s/\(=[ ]*\).*/\1/ |
| 17649 | G |
| 17650 | s/\n// |
| 17651 | s/^[^=]*=[ ]*$// |
| 17652 | }' |
| 17653 | fi |
| 17654 | |
| 17655 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17656 | fi # test -n "$CONFIG_FILES" |
| 17657 | |
| 17658 | # Set up the scripts for CONFIG_HEADERS section. |
| 17659 | # No need to generate them if there are no CONFIG_HEADERS. |
| 17660 | # This happens for instance with `./config.status Makefile'. |
| 17661 | if test -n "$CONFIG_HEADERS"; then |
| 17662 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
| 17663 | BEGIN { |
| 17664 | _ACEOF |
| 17665 | |
| 17666 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
| 17667 | # here-document in config.status, that substitutes the proper values into |
| 17668 | # config.h.in to produce config.h. |
| 17669 | |
| 17670 | # Create a delimiter string that does not exist in confdefs.h, to ease |
| 17671 | # handling of long lines. |
| 17672 | ac_delim='%!_!# ' |
| 17673 | for ac_last_try in false false :; do |
| 17674 | ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h` |
| 17675 | if testscip-shell system . . test. -z "$ac_tt"; then |
| 17676 | break |
| 17677 | elif $ac_last_try; then |
| 17678 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
| 17679 | else |
| 17680 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 17681 | fi |
| 17682 | done |
| 17683 | |
| 17684 | # For the awk script, D is an array of macro values keyed by name, |
| 17685 | # likewise P contains macro parameters if any. Preserve backslash |
| 17686 | # newline sequences. |
| 17687 | |
| 17688 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 17689 | sedscip-shell system . . sed. -n ' |
| 17690 | s/.\{148\}/&'"$ac_delim"'/g |
| 17691 | t rset |
| 17692 | :rset |
| 17693 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
| 17694 | t def |
| 17695 | d |
| 17696 | :def |
| 17697 | s/\\$// |
| 17698 | t bsnl |
| 17699 | s/["\\]/\\&/g |
| 17700 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 17701 | D["\1"]=" \3"/p |
| 17702 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
| 17703 | d |
| 17704 | :bsnl |
| 17705 | s/["\\]/\\&/g |
| 17706 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
| 17707 | D["\1"]=" \3\\\\\\n"\\/p |
| 17708 | t cont |
| 17709 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
| 17710 | t cont |
| 17711 | d |
| 17712 | :cont |
| 17713 | n |
| 17714 | s/.\{148\}/&'"$ac_delim"'/g |
| 17715 | t clear |
| 17716 | :clear |
| 17717 | s/\\$// |
| 17718 | t bsnlc |
| 17719 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
| 17720 | d |
| 17721 | :bsnlc |
| 17722 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
| 17723 | b cont |
| 17724 | ' <confdefs.h | sedscip-shell system . . sed. ' |
| 17725 | s/'"$ac_delim"'/"\\\ |
| 17726 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
| 17727 | |
| 17728 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17729 | for (key in D) D_is_set[key] = 1 |
| 17730 | FS = "" |
| 17731 | } |
| 17732 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
| 17733 | line = \$ 0 |
| 17734 | split(line, arg, " ") |
| 17735 | if (arg[1] == "#") { |
| 17736 | defundef = arg[2] |
| 17737 | mac1 = arg[3] |
| 17738 | } else { |
| 17739 | defundef = substr(arg[1], 2) |
| 17740 | mac1 = arg[2] |
| 17741 | } |
| 17742 | split(mac1, mac2, "(") #) |
| 17743 | macro = mac2[1] |
| 17744 | prefix = substr(line, 1, index(line, defundef) - 1) |
| 17745 | if (D_is_set[macro]) { |
| 17746 | # Preserve the white space surrounding the "#". |
| 17747 | print prefix "define", macro P[macro] D[macro] |
| 17748 | next |
| 17749 | } else { |
| 17750 | # Replace #undef with comments. This is necessary, for example, |
| 17751 | # in the case of _POSIX_SOURCE, which is predefined and required |
| 17752 | # on some systems where configure will not decide to define it. |
| 17753 | if (defundef == "undef") { |
| 17754 | print "/*", prefix defundef, macro, "*/" |
| 17755 | next |
| 17756 | } |
| 17757 | } |
| 17758 | } |
| 17759 | { print } |
| 17760 | _ACAWK |
| 17761 | _ACEOF |
| 17762 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17763 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
| 17764 | fi # test -n "$CONFIG_HEADERS" |
| 17765 | |
| 17766 | |
| 17767 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS" |
| 17768 | shift |
| 17769 | for ac_tag |
| 17770 | do |
| 17771 | case $ac_tag in |
| 17772 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 17773 | esac |
| 17774 | case $ac_mode$ac_tag in |
| 17775 | :[FHL]*:*);; |
| 17776 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 17777 | :[FH]-) ac_tag=-:-;; |
| 17778 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 17779 | esac |
| 17780 | ac_save_IFS=$IFS |
| 17781 | IFS=: |
| 17782 | set x $ac_tag |
| 17783 | IFS=$ac_save_IFS |
| 17784 | shift |
| 17785 | ac_file=$1 |
| 17786 | shift |
| 17787 | |
| 17788 | case $ac_mode in |
| 17789 | :L) ac_source=$1;; |
| 17790 | :[FH]) |
| 17791 | ac_file_inputs= |
| 17792 | for ac_f |
| 17793 | do |
| 17794 | case $ac_f in |
| 17795 | -) ac_f="$ac_tmp/stdin";; |
| 17796 | *) # Look for the file first in the build tree, then in the source tree |
| 17797 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
| 17798 | # because $ac_f cannot contain `:'. |
| 17799 | test -f "$ac_f" || |
| 17800 | case $ac_f in |
| 17801 | [\\/$]*) false;; |
| 17802 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 17803 | esac || |
| 17804 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 17805 | esac |
| 17806 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 17807 | as_fn_append ac_file_inputs " '$ac_f'" |
| 17808 | done |
| 17809 | |
| 17810 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
| 17811 | # use $as_me), people would be surprised to read: |
| 17812 | # /* config.h. Generated by config.status. */ |
| 17813 | configure_input='Generated from '` |
| 17814 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 17815 | `' by configure.' |
| 17816 | if test x"$ac_file" != x-; then |
| 17817 | configure_input="$ac_file. $configure_input" |
| 17818 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 17819 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
| 17820 | fi |
| 17821 | # Neutralize special characters interpreted by sed in replacement strings. |
| 17822 | case $configure_input in #( |
| 17823 | *\&* | *\|* | *\\* ) |
| 17824 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
| 17825 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 17826 | *) ac_sed_conf_input=$configure_input;; |
| 17827 | esac |
| 17828 | |
| 17829 | case $ac_tag in |
| 17830 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 17831 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 17832 | esac |
| 17833 | ;; |
| 17834 | esac |
| 17835 | |
| 17836 | ac_dir=`$as_dirname -- "$ac_file" || |
| 17837 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 17838 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 17839 | X"$ac_file" : 'X\(//\)$' \| \ |
| 17840 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 17841 | printf "%s\n" X"$ac_file" | |
| 17842 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 17843 | s//\1/ |
| 17844 | q |
| 17845 | } |
| 17846 | /^X\(\/\/\)[^/].*/{ |
| 17847 | s//\1/ |
| 17848 | q |
| 17849 | } |
| 17850 | /^X\(\/\/\)$/{ |
| 17851 | s//\1/ |
| 17852 | q |
| 17853 | } |
| 17854 | /^X\(\/\).*/{ |
| 17855 | s//\1/ |
| 17856 | q |
| 17857 | } |
| 17858 | s/.*/./; q'` |
| 17859 | as_dir="$ac_dir"; as_fn_mkdir_p |
| 17860 | ac_builddir=. |
| 17861 | |
| 17862 | case "$ac_dir" in |
| 17863 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17864 | *) |
| 17865 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
| 17866 | # A ".." for each directory in $ac_dir_suffix. |
| 17867 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 17868 | case $ac_top_builddir_sub in |
| 17869 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 17870 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 17871 | esac ;; |
| 17872 | esac |
| 17873 | ac_abs_top_builddir=$ac_pwd |
| 17874 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 17875 | # for backward compatibility: |
| 17876 | ac_top_builddir=$ac_top_build_prefix |
| 17877 | |
| 17878 | case $srcdir in |
| 17879 | .) # We are building in place. |
| 17880 | ac_srcdir=. |
| 17881 | ac_top_srcdir=$ac_top_builddir_sub |
| 17882 | ac_abs_top_srcdir=$ac_pwd ;; |
| 17883 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 17884 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 17885 | ac_top_srcdir=$srcdir |
| 17886 | ac_abs_top_srcdir=$srcdir ;; |
| 17887 | *) # Relative name. |
| 17888 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 17889 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 17890 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 17891 | esac |
| 17892 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 17893 | |
| 17894 | |
| 17895 | case $ac_mode in |
| 17896 | :F) |
| 17897 | # |
| 17898 | # CONFIG_FILE |
| 17899 | # |
| 17900 | |
| 17901 | case $INSTALL in |
| 17902 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 17903 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 17904 | esac |
| 17905 | ac_MKDIR_P=$MKDIR_P |
| 17906 | case $MKDIR_P in |
| 17907 | [\\/$]* | ?:[\\/]* ) ;; |
| 17908 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 17909 | esac |
| 17910 | _ACEOF |
| 17911 | |
| 17912 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17913 | # If the template does not know about datarootdir, expand it. |
| 17914 | # FIXME: This hack should be removed a few years after 2.60. |
| 17915 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 17916 | ac_sed_dataroot=' |
| 17917 | /datarootdir/ { |
| 17918 | p |
| 17919 | q |
| 17920 | } |
| 17921 | /@datadir@/p |
| 17922 | /@docdir@/p |
| 17923 | /@infodir@/p |
| 17924 | /@localedir@/p |
| 17925 | /@mandir@/p' |
| 17926 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 17927 | *datarootdir*) ac_datarootdir_seen=yes;; |
| 17928 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 17929 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 17930 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 17931 | _ACEOF |
| 17932 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17933 | ac_datarootdir_hack=' |
| 17934 | s&@datadir@&$datadir&g |
| 17935 | s&@docdir@&$docdir&g |
| 17936 | s&@infodir@&$infodir&g |
| 17937 | s&@localedir@&$localedir&g |
| 17938 | s&@mandir@&$mandir&g |
| 17939 | s&\\\${datarootdir}&$datarootdir&g' ;; |
| 17940 | esac |
| 17941 | _ACEOF |
| 17942 | |
| 17943 | # Neutralize VPATH when `$srcdir' = `.'. |
| 17944 | # Shell code in configure.ac might set extrasub. |
| 17945 | # FIXME: do we really want to maintain this feature? |
| 17946 | catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 17947 | ac_sed_extra="$ac_vpsub |
| 17948 | $extrasub |
| 17949 | _ACEOF |
| 17950 | catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 17951 | :t |
| 17952 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 17953 | s|@configure_input@|$ac_sed_conf_input|;t t |
| 17954 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 17955 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 17956 | s&@srcdir@&$ac_srcdir&;t t |
| 17957 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 17958 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 17959 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 17960 | s&@builddir@&$ac_builddir&;t t |
| 17961 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 17962 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 17963 | s&@INSTALL@&$ac_INSTALL&;t t |
| 17964 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 17965 | $ac_datarootdir_hack |
| 17966 | " |
| 17967 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 17968 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17969 | |
| 17970 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 17971 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 17972 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 17973 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
| 17974 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17975 | which seems to be undefined. Please make sure it is defined" >&5 |
| 17976 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 17977 | which seems to be undefined. Please make sure it is defined" >&2;} |
| 17978 | |
| 17979 | rm -f "$ac_tmp/stdin" |
| 17980 | case $ac_file in |
| 17981 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 17982 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 17983 | esac \ |
| 17984 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17985 | ;; |
| 17986 | :H) |
| 17987 | # |
| 17988 | # CONFIG_HEADER |
| 17989 | # |
| 17990 | if test x"$ac_file" != x-; then |
| 17991 | { |
| 17992 | printf "%s\n" "/* $configure_input */" \ |
| 17993 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
| 17994 | } >"$ac_tmp/config.h" \ |
| 17995 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 17996 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
| 17997 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
| 17998 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
| 17999 | else |
| 18000 | rm -f "$ac_file" |
| 18001 | mv "$ac_tmp/config.h" "$ac_file" \ |
| 18002 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 18003 | fi |
| 18004 | else |
| 18005 | printf "%s\n" "/* $configure_input */" \ |
| 18006 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
| 18007 | || as_fn_error $? "could not create -" "$LINENO" 5 |
| 18008 | fi |
| 18009 | # Compute "$ac_file"'s index in $config_headers. |
| 18010 | _am_arg="$ac_file" |
| 18011 | _am_stamp_count=1 |
| 18012 | for _am_header in $config_headers :; do |
| 18013 | case $_am_header in |
| 18014 | $_am_arg | $_am_arg:* ) |
| 18015 | break ;; |
| 18016 | * ) |
| 18017 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 18018 | esac |
| 18019 | done |
| 18020 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 18021 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18022 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 18023 | X"$_am_arg" : 'X\(//\)$' \| \ |
| 18024 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
| 18025 | printf "%s\n" X"$_am_arg" | |
| 18026 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18027 | s//\1/ |
| 18028 | q |
| 18029 | } |
| 18030 | /^X\(\/\/\)[^/].*/{ |
| 18031 | s//\1/ |
| 18032 | q |
| 18033 | } |
| 18034 | /^X\(\/\/\)$/{ |
| 18035 | s//\1/ |
| 18036 | q |
| 18037 | } |
| 18038 | /^X\(\/\).*/{ |
| 18039 | s//\1/ |
| 18040 | q |
| 18041 | } |
| 18042 | s/.*/./; q'`/stamp-h$_am_stamp_count |
| 18043 | ;; |
| 18044 | :L) |
| 18045 | # |
| 18046 | # CONFIG_LINK |
| 18047 | # |
| 18048 | |
| 18049 | if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then |
| 18050 | : |
| 18051 | else |
| 18052 | # Prefer the file from the source tree if names are identical. |
| 18053 | if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then |
| 18054 | ac_source=$srcdir/$ac_source |
| 18055 | fi |
| 18056 | |
| 18057 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5 |
| 18058 | printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;} |
| 18059 | |
| 18060 | if test ! -r "$ac_source"; then |
| 18061 | as_fn_error $? "$ac_source: file not found" "$LINENO" 5 |
| 18062 | fi |
| 18063 | rm -f "$ac_file" |
| 18064 | |
| 18065 | # Try a relative symlink, then a hard link, then a copy. |
| 18066 | case $ac_source in |
| 18067 | [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;; |
| 18068 | *) ac_rel_source=$ac_top_build_prefix$ac_source ;; |
| 18069 | esac |
| 18070 | ln -s "$ac_rel_source" "$ac_file" 2>/dev/null || |
| 18071 | ln "$ac_source" "$ac_file" 2>/dev/null || |
| 18072 | cp -p "$ac_source" "$ac_file" || |
| 18073 | as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5 |
| 18074 | fi |
| 18075 | ;; |
| 18076 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 18077 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
| 18078 | ;; |
| 18079 | esac |
| 18080 | |
| 18081 | |
| 18082 | case $ac_file$ac_mode in |
| 18083 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 18084 | # Older Autoconf quotes --file arguments for eval, but not when files |
| 18085 | # are listed without --file. Let's play safe and only enable the eval |
| 18086 | # if we detect the quoting. |
| 18087 | case $CONFIG_FILES in |
| 18088 | *\'*) eval set x "$CONFIG_FILES" ;; |
| 18089 | *) set x $CONFIG_FILES ;; |
| 18090 | esac |
| 18091 | shift |
| 18092 | for mf |
| 18093 | do |
| 18094 | # Strip MF so we end up with the name of the file. |
| 18095 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 18096 | # Check whether this is an Automake generated Makefile or not. |
| 18097 | # We used to match only the files named 'Makefile.in', but |
| 18098 | # some people rename them; so instead we look at the file content. |
| 18099 | # Grep'ing the first line is not enough: some people post-process |
| 18100 | # each Makefile.in and add a new line on top of each file to say so. |
| 18101 | # Grep'ing the whole file is not good either: AIX grep has a line |
| 18102 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 18103 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 18104 | dirpart=`$as_dirname -- "$mf" || |
| 18105 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18106 | X"$mf" : 'X\(//\)[^/]' \| \ |
| 18107 | X"$mf" : 'X\(//\)$' \| \ |
| 18108 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 18109 | printf "%s\n" X"$mf" | |
| 18110 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18111 | s//\1/ |
| 18112 | q |
| 18113 | } |
| 18114 | /^X\(\/\/\)[^/].*/{ |
| 18115 | s//\1/ |
| 18116 | q |
| 18117 | } |
| 18118 | /^X\(\/\/\)$/{ |
| 18119 | s//\1/ |
| 18120 | q |
| 18121 | } |
| 18122 | /^X\(\/\).*/{ |
| 18123 | s//\1/ |
| 18124 | q |
| 18125 | } |
| 18126 | s/.*/./; q'` |
| 18127 | else |
| 18128 | continue |
| 18129 | fi |
| 18130 | # Extract the definition of DEPDIR, am__include, and am__quote |
| 18131 | # from the Makefile without running 'make'. |
| 18132 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 18133 | test -z "$DEPDIR" && continue |
| 18134 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
| 18135 | test -z "am__include" && continue |
| 18136 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
| 18137 | # Find all dependency output files, they are included files with |
| 18138 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
| 18139 | # simplest approach to changing $(DEPDIR) to its actual value in the |
| 18140 | # expansion. |
| 18141 | for file in `sed -n " |
| 18142 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
| 18143 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
| 18144 | # Make sure the directory exists. |
| 18145 | test -f "$dirpart/$file" && continue |
| 18146 | fdir=`$as_dirname -- "$file" || |
| 18147 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 18148 | X"$file" : 'X\(//\)[^/]' \| \ |
| 18149 | X"$file" : 'X\(//\)$' \| \ |
| 18150 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
| 18151 | printf "%s\n" X"$file" | |
| 18152 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 18153 | s//\1/ |
| 18154 | q |
| 18155 | } |
| 18156 | /^X\(\/\/\)[^/].*/{ |
| 18157 | s//\1/ |
| 18158 | q |
| 18159 | } |
| 18160 | /^X\(\/\/\)$/{ |
| 18161 | s//\1/ |
| 18162 | q |
| 18163 | } |
| 18164 | /^X\(\/\).*/{ |
| 18165 | s//\1/ |
| 18166 | q |
| 18167 | } |
| 18168 | s/.*/./; q'` |
| 18169 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
| 18170 | # echo "creating $dirpart/$file" |
| 18171 | echo '# dummy' > "$dirpart/$file" |
| 18172 | done |
| 18173 | done |
| 18174 | } |
| 18175 | ;; |
| 18176 | "po-directories":C) |
| 18177 | for ac_file in $CONFIG_FILES; do |
| 18178 | # Support "outfile[:infile[:infile...]]" |
| 18179 | case "$ac_file" in |
| 18180 | *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| 18181 | esac |
| 18182 | # PO directories have a Makefile.in generated from Makefile.in.in. |
| 18183 | case "$ac_file" in */Makefile.in) |
| 18184 | # Adjust a relative srcdir. |
| 18185 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
| 18186 | ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
| 18187 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
| 18188 | # In autoconf-2.13 it is called $ac_given_srcdir. |
| 18189 | # In autoconf-2.50 it is called $srcdir. |
| 18190 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
| 18191 | case "$ac_given_srcdir" in |
| 18192 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
| 18193 | /*) top_srcdir="$ac_given_srcdir" ;; |
| 18194 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
| 18195 | esac |
| 18196 | # Treat a directory as a PO directory if and only if it has a |
| 18197 | # POTFILES.in file. This allows packages to have multiple PO |
| 18198 | # directories under different names or in different locations. |
| 18199 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
| 18200 | rm -f "$ac_dir/POTFILES" |
| 18201 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
| 18202 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
| 18203 | POMAKEFILEDEPS="POTFILES.in" |
| 18204 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
| 18205 | # on $ac_dir but don't depend on user-specified configuration |
| 18206 | # parameters. |
| 18207 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
| 18208 | # The LINGUAS file contains the set of available languages. |
| 18209 | if test -n "$OBSOLETE_ALL_LINGUAS"; then |
| 18210 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
| 18211 | fi |
| 18212 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
| 18213 | # Hide the ALL_LINGUAS assigment from automake < 1.5. |
| 18214 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
| 18215 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
| 18216 | else |
| 18217 | # The set of available languages was given in configure.in. |
| 18218 | # Hide the ALL_LINGUAS assigment from automake < 1.5. |
| 18219 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
| 18220 | fi |
| 18221 | # Compute POFILES |
| 18222 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
| 18223 | # Compute UPDATEPOFILES |
| 18224 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
| 18225 | # Compute DUMMYPOFILES |
| 18226 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
| 18227 | # Compute GMOFILES |
| 18228 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
| 18229 | case "$ac_given_srcdir" in |
| 18230 | .) srcdirpre= ;; |
| 18231 | *) srcdirpre='$(srcdir)/' ;; |
| 18232 | esac |
| 18233 | POFILES= |
| 18234 | UPDATEPOFILES= |
| 18235 | DUMMYPOFILES= |
| 18236 | GMOFILES= |
| 18237 | for lang in $ALL_LINGUAS; do |
| 18238 | POFILES="$POFILES $srcdirpre$lang.po" |
| 18239 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
| 18240 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
| 18241 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
| 18242 | done |
| 18243 | # CATALOGS depends on both $ac_dir and the user's LINGUAS |
| 18244 | # environment variable. |
| 18245 | INST_LINGUAS= |
| 18246 | if test -n "$ALL_LINGUAS"; then |
| 18247 | for presentlang in $ALL_LINGUAS; do |
| 18248 | useit=no |
| 18249 | if test "%UNSET%" != "$LINGUAS"; then |
| 18250 | desiredlanguages="$LINGUAS" |
| 18251 | else |
| 18252 | desiredlanguages="$ALL_LINGUAS" |
| 18253 | fi |
| 18254 | for desiredlang in $desiredlanguages; do |
| 18255 | # Use the presentlang catalog if desiredlang is |
| 18256 | # a. equal to presentlang, or |
| 18257 | # b. a variant of presentlang (because in this case, |
| 18258 | # presentlang can be used as a fallback for messages |
| 18259 | # which are not translated in the desiredlang catalog). |
| 18260 | case "$desiredlang" in |
| 18261 | "$presentlang"*) useit=yes;; |
| 18262 | esac |
| 18263 | done |
| 18264 | if test $useit = yes; then |
| 18265 | INST_LINGUAS="$INST_LINGUAS $presentlang" |
| 18266 | fi |
| 18267 | done |
| 18268 | fi |
| 18269 | CATALOGS= |
| 18270 | if test -n "$INST_LINGUAS"; then |
| 18271 | for lang in $INST_LINGUAS; do |
| 18272 | CATALOGS="$CATALOGS $lang.gmo" |
| 18273 | done |
| 18274 | fi |
| 18275 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
| 18276 | sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" |
| 18277 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
| 18278 | if test -f "$f"; then |
| 18279 | case "$f" in |
| 18280 | *.orig | *.bak | *~) ;; |
| 18281 | *) cat "$f" >> "$ac_dir/Makefile" ;; |
| 18282 | esac |
| 18283 | fi |
| 18284 | done |
| 18285 | fi |
| 18286 | ;; |
| 18287 | esac |
| 18288 | done ;; |
| 18289 | |
| 18290 | esac |
| 18291 | done # for ac_tag |
| 18292 | |
| 18293 | |
| 18294 | as_fn_exit 0 |
| 18295 | _ACEOF |
| 18296 | ac_clean_files=$ac_clean_files_save |
| 18297 | |
| 18298 | testscip-shell system . . test. $ac_write_fail = 0 || |
| 18299 | as_fn_errorscip-shell shell cppi 1.18-6 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 18300 | |
| 18301 | |
| 18302 | # configure is writing to config.log, and then calls config.status. |
| 18303 | # config.status does its own redirection, appending to config.log. |
| 18304 | # Unfortunately, on DOS this fails, as config.log is still kept open |
| 18305 | # by configure, so config.status won't be able to write to it; its |
| 18306 | # output is simply discarded. So we exec the FD to /dev/null, |
| 18307 | # effectively closing config.log, so it can be properly (re)opened and |
| 18308 | # appended to by config.status. When coming back to configure, we |
| 18309 | # need to make the FD available again. |
| 18310 | if testscip-shell system . . test. "$no_create" != yes; then |
| 18311 | ac_cs_success=: |
| 18312 | ac_config_status_args= |
| 18313 | testscip-shell system . . test. "$silent" = yes && |
| 18314 | ac_config_status_args="$ac_config_status_args --quiet" |
| 18315 | exec 5>/dev/nullscip-shell filesystem . . `/dev/null`. |
| 18316 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 18317 | exec 5>>config.log |
| 18318 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 18319 | # would make configure fail if this is the last instruction. |
| 18320 | $ac_cs_success || as_fn_exitscip-shell shell cppi 1.18-6 as_fn_exit(). 1 |
| 18321 | fi |
| 18322 | if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then |
| 18323 | { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 18324 | printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 18325 | fi |
| 18326 |