Parent Directory
|
Revision Log
|
Patch
| revision 91 by nigel, Sat Feb 24 21:41:34 2007 UTC | revision 131 by ph10, Mon Mar 26 15:10:12 2007 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | #! /bin/sh | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.59. | # Generated by GNU Autoconf 2.61 for PCRE 7.1-RC3. |
| 4 | # | # |
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 7 | # This configure script is free software; the Free Software Foundation | # This configure script is free software; the Free Software Foundation |
| 8 | # gives unlimited permission to copy, distribute and modify it. | # gives unlimited permission to copy, distribute and modify it. |
| 9 | ## --------------------- ## | ## --------------------- ## |
| 10 | ## M4sh Initialization. ## | ## M4sh Initialization. ## |
| 11 | ## --------------------- ## | ## --------------------- ## |
| 12 | ||
| 13 | # Be Bourne compatible | # Be more Bourne compatible |
| 14 | DUALCASE=1; export DUALCASE # for MKS sh | |
| 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 16 | emulate sh | emulate sh |
| 17 | NULLCMD=: | NULLCMD=: |
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 19 | # is contrary to our usage. Disable this feature. | # is contrary to our usage. Disable this feature. |
| 20 | alias -g '${1+"$@"}'='"$@"' | alias -g '${1+"$@"}'='"$@"' |
| 21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | setopt NO_GLOB_SUBST |
| 22 | set -o posix | else |
| 23 | case `(set -o) 2>/dev/null` in | |
| 24 | *posix*) set -o posix ;; | |
| 25 | esac | |
| 26 | ||
| 27 | fi | |
| 28 | ||
| 29 | ||
| 30 | ||
| 31 | ||
| 32 | # PATH needs CR | |
| 33 | # Avoid depending upon Character Ranges. | |
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 37 | as_cr_digits='0123456789' | |
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 39 | ||
| 40 | # The user is always right. | |
| 41 | if test "${PATH_SEPARATOR+set}" != set; then | |
| 42 | echo "#! /bin/sh" >conf$$.sh | |
| 43 | echo "exit 0" >>conf$$.sh | |
| 44 | chmod +x conf$$.sh | |
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | |
| 46 | PATH_SEPARATOR=';' | |
| 47 | else | |
| 48 | PATH_SEPARATOR=: | |
| 49 | fi | |
| 50 | rm -f conf$$.sh | |
| 51 | fi | fi |
| DUALCASE=1; export DUALCASE # for MKS sh | ||
| 52 | ||
| 53 | # Support unset when possible. | # Support unset when possible. |
| 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| # | Line 29 else | Line 58 else |
| 58 | fi | fi |
| 59 | ||
| 60 | ||
| 61 | # IFS | |
| 62 | # We need space, tab and new line, in precisely that order. Quoting is | |
| 63 | # there to prevent editors from complaining about space-tab. | |
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 65 | # splitting by setting IFS to empty value.) | |
| 66 | as_nl=' | |
| 67 | ' | |
| 68 | IFS=" "" $as_nl" | |
| 69 | ||
| 70 | # Find who we are. Look in the path if we contain no directory separator. | |
| 71 | case $0 in | |
| 72 | *[\\/]* ) as_myself=$0 ;; | |
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 74 | for as_dir in $PATH | |
| 75 | do | |
| 76 | IFS=$as_save_IFS | |
| 77 | test -z "$as_dir" && as_dir=. | |
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 79 | done | |
| 80 | IFS=$as_save_IFS | |
| 81 | ||
| 82 | ;; | |
| 83 | esac | |
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 85 | # in which case we are not to be found in the path. | |
| 86 | if test "x$as_myself" = x; then | |
| 87 | as_myself=$0 | |
| 88 | fi | |
| 89 | if test ! -f "$as_myself"; then | |
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 91 | { (exit 1); exit 1; } | |
| 92 | fi | |
| 93 | ||
| 94 | # Work around bugs in pre-3.0 UWIN ksh. | # Work around bugs in pre-3.0 UWIN ksh. |
| 95 | $as_unset ENV MAIL MAILPATH | for as_var in ENV MAIL MAILPATH |
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 97 | done | |
| 98 | PS1='$ ' | PS1='$ ' |
| 99 | PS2='> ' | PS2='> ' |
| 100 | PS4='+ ' | PS4='+ ' |
| # | Line 44 do | Line 108 do |
| 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 109 | eval $as_var=C; export $as_var | eval $as_var=C; export $as_var |
| 110 | else | else |
| 111 | $as_unset $as_var | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 112 | fi | fi |
| 113 | done | done |
| 114 | ||
| 115 | # Required to use basename. | # Required to use basename. |
| 116 | if expr a : '\(a\)' >/dev/null 2>&1; then | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 118 | as_expr=expr | as_expr=expr |
| 119 | else | else |
| 120 | as_expr=false | as_expr=false |
| 121 | fi | fi |
| 122 | ||
| 123 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 124 | as_basename=basename | as_basename=basename |
| 125 | else | else |
| 126 | as_basename=false | as_basename=false |
| # | Line 63 fi | Line 128 fi |
| 128 | ||
| 129 | ||
| 130 | # Name of the executable. | # Name of the executable. |
| 131 | as_me=`$as_basename "$0" || | as_me=`$as_basename -- "$0" || |
| 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 133 | X"$0" : 'X\(//\)$' \| \ | X"$0" : 'X\(//\)$' \| \ |
| 134 | X"$0" : 'X\(/\)$' \| \ | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| . : '\(.\)' 2>/dev/null || | ||
| 135 | echo X/"$0" | | echo X/"$0" | |
| 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 137 | /^X\/\(\/\/\)$/{ s//\1/; q; } | s//\1/ |
| 138 | /^X\/\(\/\).*/{ s//\1/; q; } | q |
| 139 | s/.*/./; q'` | } |
| 140 | /^X\/\(\/\/\)$/{ | |
| 141 | s//\1/ | |
| 142 | q | |
| 143 | } | |
| 144 | /^X\/\(\/\).*/{ | |
| 145 | s//\1/ | |
| 146 | q | |
| 147 | } | |
| 148 | s/.*/./; q'` | |
| 149 | ||
| 150 | # CDPATH. | |
| 151 | $as_unset CDPATH | |
| 152 | ||
| # PATH needs CR, and LINENO needs CR and PATH. | ||
| # Avoid depending upon Character Ranges. | ||
| as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| as_cr_digits='0123456789' | ||
| as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 153 | ||
| 154 | # The user is always right. | if test "x$CONFIG_SHELL" = x; then |
| 155 | if test "${PATH_SEPARATOR+set}" != set; then | if (eval ":") 2>/dev/null; then |
| 156 | echo "#! /bin/sh" >conf$$.sh | as_have_required=yes |
| 157 | echo "exit 0" >>conf$$.sh | else |
| 158 | chmod +x conf$$.sh | as_have_required=no |
| if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| PATH_SEPARATOR=';' | ||
| else | ||
| PATH_SEPARATOR=: | ||
| fi | ||
| rm -f conf$$.sh | ||
| 159 | fi | fi |
| 160 | ||
| 161 | if test $as_have_required = yes && (eval ": | |
| 162 | (as_func_return () { | |
| 163 | (exit \$1) | |
| 164 | } | |
| 165 | as_func_success () { | |
| 166 | as_func_return 0 | |
| 167 | } | |
| 168 | as_func_failure () { | |
| 169 | as_func_return 1 | |
| 170 | } | |
| 171 | as_func_ret_success () { | |
| 172 | return 0 | |
| 173 | } | |
| 174 | as_func_ret_failure () { | |
| 175 | return 1 | |
| 176 | } | |
| 177 | ||
| 178 | as_lineno_1=$LINENO | exitcode=0 |
| 179 | as_lineno_2=$LINENO | if as_func_success; then |
| 180 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | : |
| 181 | test "x$as_lineno_1" != "x$as_lineno_2" && | else |
| 182 | test "x$as_lineno_3" = "x$as_lineno_2" || { | exitcode=1 |
| 183 | # Find who we are. Look in the path if we contain no path at all | echo as_func_success failed. |
| 184 | # relative or not. | fi |
| case $0 in | ||
| *[\\/]* ) as_myself=$0 ;; | ||
| *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| for as_dir in $PATH | ||
| do | ||
| IFS=$as_save_IFS | ||
| test -z "$as_dir" && as_dir=. | ||
| test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| done | ||
| 185 | ||
| 186 | ;; | if as_func_failure; then |
| 187 | esac | exitcode=1 |
| 188 | # We did not find ourselves, most probably we were run as `sh COMMAND' | echo as_func_failure succeeded. |
| 189 | # in which case we are not to be found in the path. | fi |
| 190 | if test "x$as_myself" = x; then | |
| 191 | as_myself=$0 | if as_func_ret_success; then |
| 192 | fi | : |
| 193 | if test ! -f "$as_myself"; then | else |
| 194 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | exitcode=1 |
| 195 | { (exit 1); exit 1; }; } | echo as_func_ret_success failed. |
| 196 | fi | fi |
| 197 | case $CONFIG_SHELL in | |
| 198 | '') | if as_func_ret_failure; then |
| 199 | exitcode=1 | |
| 200 | echo as_func_ret_failure succeeded. | |
| 201 | fi | |
| 202 | ||
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
| 204 | : | |
| 205 | else | |
| 206 | exitcode=1 | |
| 207 | echo positional parameters were not saved. | |
| 208 | fi | |
| 209 | ||
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
| 211 | ||
| 212 | ( | |
| 213 | as_lineno_1=\$LINENO | |
| 214 | as_lineno_2=\$LINENO | |
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
| 217 | ") 2> /dev/null; then | |
| 218 | : | |
| 219 | else | |
| 220 | as_candidate_shells= | |
| 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 223 | do | do |
| 224 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 225 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 226 | for as_base in sh bash ksh sh5; do | case $as_dir in |
| case $as_dir in | ||
| 227 | /*) | /*) |
| 228 | if ("$as_dir/$as_base" -c ' | for as_base in sh bash ksh sh5; do |
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
| 230 | done;; | |
| 231 | esac | |
| 232 | done | |
| 233 | IFS=$as_save_IFS | |
| 234 | ||
| 235 | ||
| 236 | for as_shell in $as_candidate_shells $SHELL; do | |
| 237 | # Try only shells that exist, to save several forks. | |
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 241 | emulate sh | |
| 242 | NULLCMD=: | |
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 244 | # is contrary to our usage. Disable this feature. | |
| 245 | alias -g '${1+"$@"}'='"$@"' | |
| 246 | setopt NO_GLOB_SUBST | |
| 247 | else | |
| 248 | case `(set -o) 2>/dev/null` in | |
| 249 | *posix*) set -o posix ;; | |
| 250 | esac | |
| 251 | ||
| 252 | fi | |
| 253 | ||
| 254 | ||
| 255 | : | |
| 256 | _ASEOF | |
| 257 | }; then | |
| 258 | CONFIG_SHELL=$as_shell | |
| 259 | as_have_required=yes | |
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF | |
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
| 262 | emulate sh | |
| 263 | NULLCMD=: | |
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
| 265 | # is contrary to our usage. Disable this feature. | |
| 266 | alias -g '${1+"$@"}'='"$@"' | |
| 267 | setopt NO_GLOB_SUBST | |
| 268 | else | |
| 269 | case `(set -o) 2>/dev/null` in | |
| 270 | *posix*) set -o posix ;; | |
| 271 | esac | |
| 272 | ||
| 273 | fi | |
| 274 | ||
| 275 | ||
| 276 | : | |
| 277 | (as_func_return () { | |
| 278 | (exit $1) | |
| 279 | } | |
| 280 | as_func_success () { | |
| 281 | as_func_return 0 | |
| 282 | } | |
| 283 | as_func_failure () { | |
| 284 | as_func_return 1 | |
| 285 | } | |
| 286 | as_func_ret_success () { | |
| 287 | return 0 | |
| 288 | } | |
| 289 | as_func_ret_failure () { | |
| 290 | return 1 | |
| 291 | } | |
| 292 | ||
| 293 | exitcode=0 | |
| 294 | if as_func_success; then | |
| 295 | : | |
| 296 | else | |
| 297 | exitcode=1 | |
| 298 | echo as_func_success failed. | |
| 299 | fi | |
| 300 | ||
| 301 | if as_func_failure; then | |
| 302 | exitcode=1 | |
| 303 | echo as_func_failure succeeded. | |
| 304 | fi | |
| 305 | ||
| 306 | if as_func_ret_success; then | |
| 307 | : | |
| 308 | else | |
| 309 | exitcode=1 | |
| 310 | echo as_func_ret_success failed. | |
| 311 | fi | |
| 312 | ||
| 313 | if as_func_ret_failure; then | |
| 314 | exitcode=1 | |
| 315 | echo as_func_ret_failure succeeded. | |
| 316 | fi | |
| 317 | ||
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
| 319 | : | |
| 320 | else | |
| 321 | exitcode=1 | |
| 322 | echo positional parameters were not saved. | |
| 323 | fi | |
| 324 | ||
| 325 | test $exitcode = 0) || { (exit 1); exit 1; } | |
| 326 | ||
| 327 | ( | |
| 328 | as_lineno_1=$LINENO | as_lineno_1=$LINENO |
| 329 | as_lineno_2=$LINENO | as_lineno_2=$LINENO |
| as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" && | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 331 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 332 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
| 333 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | _ASEOF |
| 334 | CONFIG_SHELL=$as_dir/$as_base | }; then |
| 335 | export CONFIG_SHELL | break |
| 336 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | fi |
| 337 | fi;; | |
| 338 | esac | fi |
| 339 | done | |
| 340 | done | done |
| 341 | ;; | |
| 342 | esac | if test "x$CONFIG_SHELL" != x; then |
| 343 | for as_var in BASH_ENV ENV | |
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
| 345 | done | |
| 346 | export CONFIG_SHELL | |
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
| 348 | fi | |
| 349 | ||
| 350 | ||
| 351 | if test $as_have_required = no; then | |
| 352 | echo This script requires a shell more modern than all the | |
| 353 | echo shells that I found on your system. Please install a | |
| 354 | echo modern shell, or manually run the script under such a | |
| 355 | echo shell if you do have one. | |
| 356 | { (exit 1); exit 1; } | |
| 357 | fi | |
| 358 | ||
| 359 | ||
| 360 | fi | |
| 361 | ||
| 362 | fi | |
| 363 | ||
| 364 | ||
| 365 | ||
| 366 | (eval "as_func_return () { | |
| 367 | (exit \$1) | |
| 368 | } | |
| 369 | as_func_success () { | |
| 370 | as_func_return 0 | |
| 371 | } | |
| 372 | as_func_failure () { | |
| 373 | as_func_return 1 | |
| 374 | } | |
| 375 | as_func_ret_success () { | |
| 376 | return 0 | |
| 377 | } | |
| 378 | as_func_ret_failure () { | |
| 379 | return 1 | |
| 380 | } | |
| 381 | ||
| 382 | exitcode=0 | |
| 383 | if as_func_success; then | |
| 384 | : | |
| 385 | else | |
| 386 | exitcode=1 | |
| 387 | echo as_func_success failed. | |
| 388 | fi | |
| 389 | ||
| 390 | if as_func_failure; then | |
| 391 | exitcode=1 | |
| 392 | echo as_func_failure succeeded. | |
| 393 | fi | |
| 394 | ||
| 395 | if as_func_ret_success; then | |
| 396 | : | |
| 397 | else | |
| 398 | exitcode=1 | |
| 399 | echo as_func_ret_success failed. | |
| 400 | fi | |
| 401 | ||
| 402 | if as_func_ret_failure; then | |
| 403 | exitcode=1 | |
| 404 | echo as_func_ret_failure succeeded. | |
| 405 | fi | |
| 406 | ||
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
| 408 | : | |
| 409 | else | |
| 410 | exitcode=1 | |
| 411 | echo positional parameters were not saved. | |
| 412 | fi | |
| 413 | ||
| 414 | test \$exitcode = 0") || { | |
| 415 | echo No shell found that supports shell functions. | |
| 416 | echo Please tell autoconf@gnu.org about your system, | |
| 417 | echo including any error possibly output before this | |
| 418 | echo message | |
| 419 | } | |
| 420 | ||
| 421 | ||
| 422 | ||
| 423 | as_lineno_1=$LINENO | |
| 424 | as_lineno_2=$LINENO | |
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
| 427 | ||
| 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a | # uniformly replaced by the line number. The first 'sed' inserts a |
| 430 | # line-number line before each line; the second 'sed' does the real | # line-number line after each line using $LINENO; the second 'sed' |
| 431 | # work. The second script uses 'N' to pair each line-number line | # does the real work. The second script uses 'N' to pair each |
| 432 | # with the numbered line, and appends trailing '-' during | # line-number line with the line containing $LINENO, and appends |
| 433 | # substitution so that $LINENO is not a special case at line end. | # trailing '-' during substitution so that $LINENO is not a special |
| 434 | # case at line end. | |
| 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 436 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 437 | sed '=' <$as_myself | | # E. McMahon (1931-1989) for sed's syntax. :-) |
| 438 | sed -n ' | |
| 439 | p | |
| 440 | /[$]LINENO/= | |
| 441 | ' <$as_myself | | |
| 442 | sed ' | sed ' |
| 443 | s/[$]LINENO.*/&-/ | |
| 444 | t lineno | |
| 445 | b | |
| 446 | :lineno | |
| 447 | N | N |
| 448 | s,$,-, | :loop |
| 449 | : loop | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
| 450 | t loop | t loop |
| 451 | s,-$,, | s/-\n.*// |
| s,^['$as_cr_digits']*\n,, | ||
| 452 | ' >$as_me.lineno && | ' >$as_me.lineno && |
| 453 | chmod +x $as_me.lineno || | chmod +x "$as_me.lineno" || |
| 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 455 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 456 | ||
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems | # Don't try to exec as it changes $[0], causing all sort of problems |
| 458 | # (the dirname of $[0] is not the place where we might find the | # (the dirname of $[0] is not the place where we might find the |
| 459 | # original and so on. Autoconf is especially sensible to this). | # original and so on. Autoconf is especially sensitive to this). |
| 460 | . ./$as_me.lineno | . "./$as_me.lineno" |
| 461 | # Exit status is that of the last command. | # Exit status is that of the last command. |
| 462 | exit | exit |
| 463 | } | } |
| 464 | ||
| 465 | ||
| 466 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 467 | *c*,-n*) ECHO_N= ECHO_C=' | as_dirname=dirname |
| 468 | ' ECHO_T=' ' ;; | else |
| 469 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | as_dirname=false |
| 470 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | fi |
| 471 | ||
| 472 | ECHO_C= ECHO_N= ECHO_T= | |
| 473 | case `echo -n x` in | |
| 474 | -n*) | |
| 475 | case `echo 'x\c'` in | |
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 477 | *) ECHO_C='\c';; | |
| 478 | esac;; | |
| 479 | *) | |
| 480 | ECHO_N='-n';; | |
| 481 | esac | esac |
| 482 | ||
| 483 | if expr a : '\(a\)' >/dev/null 2>&1; then | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 485 | as_expr=expr | as_expr=expr |
| 486 | else | else |
| 487 | as_expr=false | as_expr=false |
| 488 | fi | fi |
| 489 | ||
| 490 | rm -f conf$$ conf$$.exe conf$$.file | rm -f conf$$ conf$$.exe conf$$.file |
| 491 | if test -d conf$$.dir; then | |
| 492 | rm -f conf$$.dir/conf$$.file | |
| 493 | else | |
| 494 | rm -f conf$$.dir | |
| 495 | mkdir conf$$.dir | |
| 496 | fi | |
| 497 | echo >conf$$.file | echo >conf$$.file |
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 499 | # We could just check for DJGPP; but this test a) works b) is more generic | as_ln_s='ln -s' |
| 500 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | # ... but there are two gotchas: |
| 501 | if test -f conf$$.exe; then | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 502 | # Don't use ln at all; we don't have any links | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 503 | # In both cases, we have to default to `cp -p'. | |
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 505 | as_ln_s='cp -p' | as_ln_s='cp -p' |
| else | ||
| as_ln_s='ln -s' | ||
| fi | ||
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 507 | as_ln_s=ln | as_ln_s=ln |
| 508 | else | else |
| 509 | as_ln_s='cp -p' | as_ln_s='cp -p' |
| 510 | fi | fi |
| 511 | rm -f conf$$ conf$$.exe conf$$.file | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 512 | rmdir conf$$.dir 2>/dev/null | |
| 513 | ||
| 514 | if mkdir -p . 2>/dev/null; then | if mkdir -p . 2>/dev/null; then |
| 515 | as_mkdir_p=: | as_mkdir_p=: |
| # | Line 222 else | Line 518 else |
| 518 | as_mkdir_p=false | as_mkdir_p=false |
| 519 | fi | fi |
| 520 | ||
| 521 | as_executable_p="test -f" | if test -x / >/dev/null 2>&1; then |
| 522 | as_test_x='test -x' | |
| 523 | else | |
| 524 | if ls -dL / >/dev/null 2>&1; then | |
| 525 | as_ls_L_option=L | |
| 526 | else | |
| 527 | as_ls_L_option= | |
| 528 | fi | |
| 529 | as_test_x=' | |
| 530 | eval sh -c '\'' | |
| 531 | if test -d "$1"; then | |
| 532 | test -d "$1/."; | |
| 533 | else | |
| 534 | case $1 in | |
| 535 | -*)set "./$1";; | |
| 536 | esac; | |
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
| 538 | ???[sx]*):;;*)false;;esac;fi | |
| 539 | '\'' sh | |
| 540 | ' | |
| 541 | fi | |
| 542 | as_executable_p=$as_test_x | |
| 543 | ||
| 544 | # Sed expression to map a string onto a valid CPP name. | # Sed expression to map a string onto a valid CPP name. |
| 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| # | Line 231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P | Line 548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P |
| 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 549 | ||
| 550 | ||
| # IFS | ||
| # We need space, tab and new line, in precisely that order. | ||
| as_nl=' | ||
| ' | ||
| IFS=" $as_nl" | ||
| # CDPATH. | ||
| $as_unset CDPATH | ||
| 551 | ||
| 552 | ||
| 553 | # Check that we are running under the correct shell. | # Check that we are running under the correct shell. |
| # | Line 395 tagnames=${tagnames+${tagnames},}CXX | Line 703 tagnames=${tagnames+${tagnames},}CXX |
| 703 | ||
| 704 | tagnames=${tagnames+${tagnames},}F77 | tagnames=${tagnames+${tagnames},}F77 |
| 705 | ||
| 706 | exec 7<&0 </dev/null 6>&1 | |
| 707 | ||
| 708 | # Name of the host. | # Name of the host. |
| 709 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 710 | # so uname gets run too. | # so uname gets run too. |
| 711 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 712 | ||
| exec 6>&1 | ||
| 713 | # | # |
| 714 | # Initializations. | # Initializations. |
| 715 | # | # |
| 716 | ac_default_prefix=/usr/local | ac_default_prefix=/usr/local |
| 717 | ac_clean_files= | |
| 718 | ac_config_libobj_dir=. | ac_config_libobj_dir=. |
| 719 | LIBOBJS= | |
| 720 | cross_compiling=no | cross_compiling=no |
| 721 | subdirs= | subdirs= |
| 722 | MFLAGS= | MFLAGS= |
| 723 | MAKEFLAGS= | MAKEFLAGS= |
| 724 | SHELL=${CONFIG_SHELL-/bin/sh} | SHELL=${CONFIG_SHELL-/bin/sh} |
| 725 | ||
| # Maximum number of lines to put in a shell here document. | ||
| # This variable seems obsolete. It should probably be removed, and | ||
| # only ac_max_sed_lines should be used. | ||
| : ${ac_max_here_lines=38} | ||
| 726 | # Identity of this package. | # Identity of this package. |
| 727 | PACKAGE_NAME= | PACKAGE_NAME='PCRE' |
| 728 | PACKAGE_TARNAME= | PACKAGE_TARNAME='pcre' |
| 729 | PACKAGE_VERSION= | PACKAGE_VERSION='7.1-RC3' |
| 730 | PACKAGE_STRING= | PACKAGE_STRING='PCRE 7.1-RC3' |
| 731 | PACKAGE_BUGREPORT= | PACKAGE_BUGREPORT='' |
| 732 | ||
| 733 | ac_unique_file="dftables.c" | ac_unique_file="pcre.h.in" |
| ac_unique_file="pcre.h" | ||
| 734 | # Factoring default headers for most tests. | # Factoring default headers for most tests. |
| 735 | ac_includes_default="\ | ac_includes_default="\ |
| 736 | #include <stdio.h> | #include <stdio.h> |
| 737 | #if HAVE_SYS_TYPES_H | #ifdef HAVE_SYS_TYPES_H |
| 738 | # include <sys/types.h> | # include <sys/types.h> |
| 739 | #endif | #endif |
| 740 | #if HAVE_SYS_STAT_H | #ifdef HAVE_SYS_STAT_H |
| 741 | # include <sys/stat.h> | # include <sys/stat.h> |
| 742 | #endif | #endif |
| 743 | #if STDC_HEADERS | #ifdef STDC_HEADERS |
| 744 | # include <stdlib.h> | # include <stdlib.h> |
| 745 | # include <stddef.h> | # include <stddef.h> |
| 746 | #else | #else |
| 747 | # if HAVE_STDLIB_H | # ifdef HAVE_STDLIB_H |
| 748 | # include <stdlib.h> | # include <stdlib.h> |
| 749 | # endif | # endif |
| 750 | #endif | #endif |
| 751 | #if HAVE_STRING_H | #ifdef HAVE_STRING_H |
| 752 | # if !STDC_HEADERS && HAVE_MEMORY_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 753 | # include <memory.h> | # include <memory.h> |
| 754 | # endif | # endif |
| 755 | # include <string.h> | # include <string.h> |
| 756 | #endif | #endif |
| 757 | #if HAVE_STRINGS_H | #ifdef HAVE_STRINGS_H |
| 758 | # include <strings.h> | # include <strings.h> |
| 759 | #endif | #endif |
| 760 | #if HAVE_INTTYPES_H | #ifdef HAVE_INTTYPES_H |
| 761 | # include <inttypes.h> | # include <inttypes.h> |
| #else | ||
| # if HAVE_STDINT_H | ||
| # include <stdint.h> | ||
| # endif | ||
| 762 | #endif | #endif |
| 763 | #if HAVE_UNISTD_H | #ifdef HAVE_STDINT_H |
| 764 | # include <stdint.h> | |
| 765 | #endif | |
| 766 | #ifdef HAVE_UNISTD_H | |
| 767 | # include <unistd.h> | # include <unistd.h> |
| 768 | #endif" | #endif" |
| 769 | ||
| 770 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_have_bits_type_traits pcre_have_type_traits MAYBE_CPP_TARGETS HAVE_CPP pcre_have_long_long pcre_have_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXXLDFLAGS EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT MATCH_LIMIT_RECURSION NEWLINE NO_RECURSE PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION PCRE_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' | ac_subst_vars='SHELL |
| 771 | PATH_SEPARATOR | |
| 772 | PACKAGE_NAME | |
| 773 | PACKAGE_TARNAME | |
| 774 | PACKAGE_VERSION | |
| 775 | PACKAGE_STRING | |
| 776 | PACKAGE_BUGREPORT | |
| 777 | exec_prefix | |
| 778 | prefix | |
| 779 | program_transform_name | |
| 780 | bindir | |
| 781 | sbindir | |
| 782 | libexecdir | |
| 783 | datarootdir | |
| 784 | datadir | |
| 785 | sysconfdir | |
| 786 | sharedstatedir | |
| 787 | localstatedir | |
| 788 | includedir | |
| 789 | oldincludedir | |
| 790 | docdir | |
| 791 | infodir | |
| 792 | htmldir | |
| 793 | dvidir | |
| 794 | pdfdir | |
| 795 | psdir | |
| 796 | libdir | |
| 797 | localedir | |
| 798 | mandir | |
| 799 | DEFS | |
| 800 | ECHO_C | |
| 801 | ECHO_N | |
| 802 | ECHO_T | |
| 803 | LIBS | |
| 804 | build_alias | |
| 805 | host_alias | |
| 806 | target_alias | |
| 807 | INSTALL_PROGRAM | |
| 808 | INSTALL_SCRIPT | |
| 809 | INSTALL_DATA | |
| 810 | am__isrc | |
| 811 | CYGPATH_W | |
| 812 | PACKAGE | |
| 813 | VERSION | |
| 814 | ACLOCAL | |
| 815 | AUTOCONF | |
| 816 | AUTOMAKE | |
| 817 | AUTOHEADER | |
| 818 | MAKEINFO | |
| 819 | install_sh | |
| 820 | STRIP | |
| 821 | INSTALL_STRIP_PROGRAM | |
| 822 | mkdir_p | |
| 823 | AWK | |
| 824 | SET_MAKE | |
| 825 | am__leading_dot | |
| 826 | AMTAR | |
| 827 | am__tar | |
| 828 | am__untar | |
| 829 | CC | |
| 830 | CFLAGS | |
| 831 | LDFLAGS | |
| 832 | CPPFLAGS | |
| 833 | ac_ct_CC | |
| 834 | EXEEXT | |
| 835 | OBJEXT | |
| 836 | DEPDIR | |
| 837 | am__include | |
| 838 | am__quote | |
| 839 | AMDEP_TRUE | |
| 840 | AMDEP_FALSE | |
| 841 | AMDEPBACKSLASH | |
| 842 | CCDEPMODE | |
| 843 | am__fastdepCC_TRUE | |
| 844 | am__fastdepCC_FALSE | |
| 845 | CXX | |
| 846 | CXXFLAGS | |
| 847 | ac_ct_CXX | |
| 848 | CXXDEPMODE | |
| 849 | am__fastdepCXX_TRUE | |
| 850 | am__fastdepCXX_FALSE | |
| 851 | build | |
| 852 | build_cpu | |
| 853 | build_vendor | |
| 854 | build_os | |
| 855 | host | |
| 856 | host_cpu | |
| 857 | host_vendor | |
| 858 | host_os | |
| 859 | GREP | |
| 860 | EGREP | |
| 861 | LN_S | |
| 862 | ECHO | |
| 863 | AR | |
| 864 | RANLIB | |
| 865 | DLLTOOL | |
| 866 | AS | |
| 867 | OBJDUMP | |
| 868 | CPP | |
| 869 | CXXCPP | |
| 870 | F77 | |
| 871 | FFLAGS | |
| 872 | ac_ct_F77 | |
| 873 | LIBTOOL | |
| 874 | PCRE_MAJOR | |
| 875 | PCRE_MINOR | |
| 876 | PCRE_PRERELEASE | |
| 877 | PCRE_DATE | |
| 878 | pcre_have_type_traits | |
| 879 | pcre_have_bits_type_traits | |
| 880 | WITH_PCRE_CPP_TRUE | |
| 881 | WITH_PCRE_CPP_FALSE | |
| 882 | WITH_REBUILD_CHARTABLES_TRUE | |
| 883 | WITH_REBUILD_CHARTABLES_FALSE | |
| 884 | pcre_have_long_long | |
| 885 | pcre_have_ulong_long | |
| 886 | EXTRA_LIBPCRE_LDFLAGS | |
| 887 | EXTRA_LIBPCREPOSIX_LDFLAGS | |
| 888 | EXTRA_LIBPCRECPP_LDFLAGS | |
| 889 | DISTCHECK_CONFIGURE_FLAGS | |
| 890 | LIBOBJS | |
| 891 | LTLIBOBJS' | |
| 892 | ac_subst_files='' | ac_subst_files='' |
| 893 | ac_precious_vars='build_alias | |
| 894 | host_alias | |
| 895 | target_alias | |
| 896 | CC | |
| 897 | CFLAGS | |
| 898 | LDFLAGS | |
| 899 | LIBS | |
| 900 | CPPFLAGS | |
| 901 | CXX | |
| 902 | CXXFLAGS | |
| 903 | CCC | |
| 904 | CPP | |
| 905 | CXXCPP | |
| 906 | F77 | |
| 907 | FFLAGS' | |
| 908 | ||
| 909 | ||
| 910 | # Initialize some variables set by options. | # Initialize some variables set by options. |
| 911 | ac_init_help= | ac_init_help= |
| # | Line 492 x_libraries=NONE | Line 932 x_libraries=NONE |
| 932 | # and all the variables that are supposed to be based on exec_prefix | # and all the variables that are supposed to be based on exec_prefix |
| 933 | # by default will actually change. | # by default will actually change. |
| 934 | # Use braces instead of parens because sh, perl, etc. also accept them. | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 935 | # (The list follows the same order as the GNU Coding Standards.) | |
| 936 | bindir='${exec_prefix}/bin' | bindir='${exec_prefix}/bin' |
| 937 | sbindir='${exec_prefix}/sbin' | sbindir='${exec_prefix}/sbin' |
| 938 | libexecdir='${exec_prefix}/libexec' | libexecdir='${exec_prefix}/libexec' |
| 939 | datadir='${prefix}/share' | datarootdir='${prefix}/share' |
| 940 | datadir='${datarootdir}' | |
| 941 | sysconfdir='${prefix}/etc' | sysconfdir='${prefix}/etc' |
| 942 | sharedstatedir='${prefix}/com' | sharedstatedir='${prefix}/com' |
| 943 | localstatedir='${prefix}/var' | localstatedir='${prefix}/var' |
| libdir='${exec_prefix}/lib' | ||
| 944 | includedir='${prefix}/include' | includedir='${prefix}/include' |
| 945 | oldincludedir='/usr/include' | oldincludedir='/usr/include' |
| 946 | infodir='${prefix}/info' | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 947 | mandir='${prefix}/man' | infodir='${datarootdir}/info' |
| 948 | htmldir='${docdir}' | |
| 949 | dvidir='${docdir}' | |
| 950 | pdfdir='${docdir}' | |
| 951 | psdir='${docdir}' | |
| 952 | libdir='${exec_prefix}/lib' | |
| 953 | localedir='${datarootdir}/locale' | |
| 954 | mandir='${datarootdir}/man' | |
| 955 | ||
| 956 | ac_prev= | ac_prev= |
| 957 | ac_dashdash= | |
| 958 | for ac_option | for ac_option |
| 959 | do | do |
| 960 | # If the previous option needs an argument, assign it. | # If the previous option needs an argument, assign it. |
| 961 | if test -n "$ac_prev"; then | if test -n "$ac_prev"; then |
| 962 | eval "$ac_prev=\$ac_option" | eval $ac_prev=\$ac_option |
| 963 | ac_prev= | ac_prev= |
| 964 | continue | continue |
| 965 | fi | fi |
| 966 | ||
| 967 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | case $ac_option in |
| 968 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 969 | *) ac_optarg=yes ;; | |
| 970 | esac | |
| 971 | ||
| 972 | # Accept the important Cygnus configure options, so we can diagnose typos. | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 973 | ||
| 974 | case $ac_option in | case $ac_dashdash$ac_option in |
| 975 | --) | |
| 976 | ac_dashdash=yes ;; | |
| 977 | ||
| 978 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 979 | ac_prev=bindir ;; | ac_prev=bindir ;; |
| # | Line 541 do | Line 995 do |
| 995 | --config-cache | -C) | --config-cache | -C) |
| 996 | cache_file=config.cache ;; | cache_file=config.cache ;; |
| 997 | ||
| 998 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | -datadir | --datadir | --datadi | --datad) |
| 999 | ac_prev=datadir ;; | ac_prev=datadir ;; |
| 1000 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| | --da=*) | ||
| 1001 | datadir=$ac_optarg ;; | datadir=$ac_optarg ;; |
| 1002 | ||
| 1003 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 1004 | | --dataroo | --dataro | --datar) | |
| 1005 | ac_prev=datarootdir ;; | |
| 1006 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 1007 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 1008 | datarootdir=$ac_optarg ;; | |
| 1009 | ||
| 1010 | -disable-* | --disable-*) | -disable-* | --disable-*) |
| 1011 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 1012 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 1013 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1014 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 1015 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1016 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 1017 | eval "enable_$ac_feature=no" ;; | eval enable_$ac_feature=no ;; |
| 1018 | ||
| 1019 | -docdir | --docdir | --docdi | --doc | --do) | |
| 1020 | ac_prev=docdir ;; | |
| 1021 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 1022 | docdir=$ac_optarg ;; | |
| 1023 | ||
| 1024 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 1025 | ac_prev=dvidir ;; | |
| 1026 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 1027 | dvidir=$ac_optarg ;; | |
| 1028 | ||
| 1029 | -enable-* | --enable-*) | -enable-* | --enable-*) |
| 1030 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 1031 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 1032 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1033 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 1034 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1035 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 1036 | case $ac_option in | eval enable_$ac_feature=\$ac_optarg ;; |
| *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| *) ac_optarg=yes ;; | ||
| esac | ||
| eval "enable_$ac_feature='$ac_optarg'" ;; | ||
| 1037 | ||
| 1038 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 1039 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| # | Line 594 do | Line 1060 do |
| 1060 | -host=* | --host=* | --hos=* | --ho=*) | -host=* | --host=* | --hos=* | --ho=*) |
| 1061 | host_alias=$ac_optarg ;; | host_alias=$ac_optarg ;; |
| 1062 | ||
| 1063 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 1064 | ac_prev=htmldir ;; | |
| 1065 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 1066 | | --ht=*) | |
| 1067 | htmldir=$ac_optarg ;; | |
| 1068 | ||
| 1069 | -includedir | --includedir | --includedi | --included | --include \ | -includedir | --includedir | --includedi | --included | --include \ |
| 1070 | | --includ | --inclu | --incl | --inc) | | --includ | --inclu | --incl | --inc) |
| 1071 | ac_prev=includedir ;; | ac_prev=includedir ;; |
| # | Line 618 do | Line 1090 do |
| 1090 | | --libexe=* | --libex=* | --libe=*) | | --libexe=* | --libex=* | --libe=*) |
| 1091 | libexecdir=$ac_optarg ;; | libexecdir=$ac_optarg ;; |
| 1092 | ||
| 1093 | -localedir | --localedir | --localedi | --localed | --locale) | |
| 1094 | ac_prev=localedir ;; | |
| 1095 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 1096 | localedir=$ac_optarg ;; | |
| 1097 | ||
| 1098 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 1099 | | --localstate | --localstat | --localsta | --localst \ | | --localstate | --localstat | --localsta | --localst | --locals) |
| | --locals | --local | --loca | --loc | --lo) | ||
| 1100 | ac_prev=localstatedir ;; | ac_prev=localstatedir ;; |
| 1101 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 1102 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
| 1103 | localstatedir=$ac_optarg ;; | localstatedir=$ac_optarg ;; |
| 1104 | ||
| 1105 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| # | Line 689 do | Line 1164 do |
| 1164 | | --progr-tra=* | --program-tr=* | --program-t=*) | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1165 | program_transform_name=$ac_optarg ;; | program_transform_name=$ac_optarg ;; |
| 1166 | ||
| 1167 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 1168 | ac_prev=pdfdir ;; | |
| 1169 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 1170 | pdfdir=$ac_optarg ;; | |
| 1171 | ||
| 1172 | -psdir | --psdir | --psdi | --psd | --ps) | |
| 1173 | ac_prev=psdir ;; | |
| 1174 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 1175 | psdir=$ac_optarg ;; | |
| 1176 | ||
| 1177 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1178 | | -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) |
| 1179 | silent=yes ;; | silent=yes ;; |
| # | Line 741 do | Line 1226 do |
| 1226 | -with-* | --with-*) | -with-* | --with-*) |
| 1227 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1228 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 1229 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1230 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1231 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1232 | ac_package=`echo $ac_package| sed 's/-/_/g'` | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1233 | case $ac_option in | eval with_$ac_package=\$ac_optarg ;; |
| *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| *) ac_optarg=yes ;; | ||
| esac | ||
| eval "with_$ac_package='$ac_optarg'" ;; | ||
| 1234 | ||
| 1235 | -without-* | --without-*) | -without-* | --without-*) |
| 1236 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1237 | # Reject names that are not valid shell variable names. | # Reject names that are not valid shell variable names. |
| 1238 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1239 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 1240 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1241 | ac_package=`echo $ac_package | sed 's/-/_/g'` | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 1242 | eval "with_$ac_package=no" ;; | eval with_$ac_package=no ;; |
| 1243 | ||
| 1244 | --x) | --x) |
| 1245 | # Obsolete; use --with-x. | # Obsolete; use --with-x. |
| # | Line 789 Try \`$0 --help' for more information." | Line 1270 Try \`$0 --help' for more information." |
| 1270 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 1271 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 1272 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1273 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | eval $ac_envvar=\$ac_optarg |
| eval "$ac_envvar='$ac_optarg'" | ||
| 1274 | export $ac_envvar ;; | export $ac_envvar ;; |
| 1275 | ||
| 1276 | *) | *) |
| # | Line 810 if test -n "$ac_prev"; then | Line 1290 if test -n "$ac_prev"; then |
| 1290 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1291 | fi | fi |
| 1292 | ||
| 1293 | # Be sure to have absolute paths. | # Be sure to have absolute directory names. |
| 1294 | for ac_var in exec_prefix prefix | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1295 | do | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1296 | eval ac_val=$`echo $ac_var` | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1297 | case $ac_val in | libdir localedir mandir |
| [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
| *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
| { (exit 1); exit 1; }; };; | ||
| esac | ||
| done | ||
| # Be sure to have absolute paths. | ||
| for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
| localstatedir libdir includedir oldincludedir infodir mandir | ||
| 1298 | do | do |
| 1299 | eval ac_val=$`echo $ac_var` | eval ac_val=\$$ac_var |
| 1300 | case $ac_val in | case $ac_val in |
| 1301 | [\\/$]* | ?:[\\/]* ) ;; | [\\/$]* | ?:[\\/]* ) continue;; |
| 1302 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| { (exit 1); exit 1; }; };; | ||
| 1303 | esac | esac |
| 1304 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
| 1305 | { (exit 1); exit 1; }; } | |
| 1306 | done | done |
| 1307 | ||
| 1308 | # There might be people who depend on the old broken behavior: `$host' | # There might be people who depend on the old broken behavior: `$host' |
| # | Line 857 test -n "$host_alias" && ac_tool_prefix= | Line 1329 test -n "$host_alias" && ac_tool_prefix= |
| 1329 | test "$silent" = yes && exec 6>/dev/null | test "$silent" = yes && exec 6>/dev/null |
| 1330 | ||
| 1331 | ||
| 1332 | # Find the source files, if location was not specified. | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1333 | if test -z "$srcdir"; then | ac_ls_di=`ls -di .` && |
| 1334 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1335 | { echo "$as_me: error: Working directory cannot be determined" >&2 | |
| 1336 | { (exit 1); exit 1; }; } | |
| 1337 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1338 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
| 1339 | { (exit 1); exit 1; }; } | |
| 1340 | ||
| 1341 | ||
| 1342 | # Find the source files, if location was not specified. | |
| 1343 | if test -z "$srcdir"; then | |
| 1344 | ac_srcdir_defaulted=yes | ac_srcdir_defaulted=yes |
| 1345 | # Try the directory containing this script, then its parent. | # Try the directory containing this script, then the parent directory. |
| 1346 | ac_confdir=`(dirname "$0") 2>/dev/null || | ac_confdir=`$as_dirname -- "$0" || |
| 1347 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1348 | X"$0" : 'X\(//\)[^/]' \| \ | X"$0" : 'X\(//\)[^/]' \| \ |
| 1349 | X"$0" : 'X\(//\)$' \| \ | X"$0" : 'X\(//\)$' \| \ |
| 1350 | X"$0" : 'X\(/\)' \| \ | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| . : '\(.\)' 2>/dev/null || | ||
| 1351 | echo X"$0" | | echo X"$0" | |
| 1352 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1353 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | s//\1/ |
| 1354 | /^X\(\/\/\)$/{ s//\1/; q; } | q |
| 1355 | /^X\(\/\).*/{ s//\1/; q; } | } |
| 1356 | s/.*/./; q'` | /^X\(\/\/\)[^/].*/{ |
| 1357 | s//\1/ | |
| 1358 | q | |
| 1359 | } | |
| 1360 | /^X\(\/\/\)$/{ | |
| 1361 | s//\1/ | |
| 1362 | q | |
| 1363 | } | |
| 1364 | /^X\(\/\).*/{ | |
| 1365 | s//\1/ | |
| 1366 | q | |
| 1367 | } | |
| 1368 | s/.*/./; q'` | |
| 1369 | srcdir=$ac_confdir | srcdir=$ac_confdir |
| 1370 | if test ! -r "$srcdir/$ac_unique_file"; then | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1371 | srcdir=.. | srcdir=.. |
| # | Line 881 else | Line 1374 else |
| 1374 | ac_srcdir_defaulted=no | ac_srcdir_defaulted=no |
| 1375 | fi | fi |
| 1376 | if test ! -r "$srcdir/$ac_unique_file"; then | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1377 | if test "$ac_srcdir_defaulted" = yes; then | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1378 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| { (exit 1); exit 1; }; } | ||
| else | ||
| { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
| 1379 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| fi | ||
| 1380 | fi | fi |
| 1381 | (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null || | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1382 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | ac_abs_confdir=`( |
| 1383 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
| 1384 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1385 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | pwd)` |
| 1386 | ac_env_build_alias_set=${build_alias+set} | # When building in place, set srcdir=. |
| 1387 | ac_env_build_alias_value=$build_alias | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1388 | ac_cv_env_build_alias_set=${build_alias+set} | srcdir=. |
| 1389 | ac_cv_env_build_alias_value=$build_alias | fi |
| 1390 | ac_env_host_alias_set=${host_alias+set} | # Remove unnecessary trailing slashes from srcdir. |
| 1391 | ac_env_host_alias_value=$host_alias | # Double slashes in file names in object file debugging info |
| 1392 | ac_cv_env_host_alias_set=${host_alias+set} | # mess up M-x gdb in Emacs. |
| 1393 | ac_cv_env_host_alias_value=$host_alias | case $srcdir in |
| 1394 | ac_env_target_alias_set=${target_alias+set} | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1395 | ac_env_target_alias_value=$target_alias | esac |
| 1396 | ac_cv_env_target_alias_set=${target_alias+set} | for ac_var in $ac_precious_vars; do |
| 1397 | ac_cv_env_target_alias_value=$target_alias | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1398 | ac_env_CC_set=${CC+set} | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1399 | ac_env_CC_value=$CC | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1400 | ac_cv_env_CC_set=${CC+set} | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1401 | ac_cv_env_CC_value=$CC | done |
| ac_env_CFLAGS_set=${CFLAGS+set} | ||
| ac_env_CFLAGS_value=$CFLAGS | ||
| ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
| ac_cv_env_CFLAGS_value=$CFLAGS | ||
| ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
| ac_env_LDFLAGS_value=$LDFLAGS | ||
| ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
| ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
| ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| ac_env_CPPFLAGS_value=$CPPFLAGS | ||
| ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
| ac_env_CXX_set=${CXX+set} | ||
| ac_env_CXX_value=$CXX | ||
| ac_cv_env_CXX_set=${CXX+set} | ||
| ac_cv_env_CXX_value=$CXX | ||
| ac_env_CXXFLAGS_set=${CXXFLAGS+set} | ||
| ac_env_CXXFLAGS_value=$CXXFLAGS | ||
| ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | ||
| ac_cv_env_CXXFLAGS_value=$CXXFLAGS | ||
| ac_env_CPP_set=${CPP+set} | ||
| ac_env_CPP_value=$CPP | ||
| ac_cv_env_CPP_set=${CPP+set} | ||
| ac_cv_env_CPP_value=$CPP | ||
| ac_env_CXXCPP_set=${CXXCPP+set} | ||
| ac_env_CXXCPP_value=$CXXCPP | ||
| ac_cv_env_CXXCPP_set=${CXXCPP+set} | ||
| ac_cv_env_CXXCPP_value=$CXXCPP | ||
| ac_env_F77_set=${F77+set} | ||
| ac_env_F77_value=$F77 | ||
| ac_cv_env_F77_set=${F77+set} | ||
| ac_cv_env_F77_value=$F77 | ||
| ac_env_FFLAGS_set=${FFLAGS+set} | ||
| ac_env_FFLAGS_value=$FFLAGS | ||
| ac_cv_env_FFLAGS_set=${FFLAGS+set} | ||
| ac_cv_env_FFLAGS_value=$FFLAGS | ||
| 1402 | ||
| 1403 | # | # |
| 1404 | # Report the --help message. | # Report the --help message. |
| # | Line 953 if test "$ac_init_help" = "long"; then | Line 1407 if test "$ac_init_help" = "long"; then |
| 1407 | # Omit some internal or obsolete options to make the list less imposing. | # Omit some internal or obsolete options to make the list less imposing. |
| 1408 | # This message is too long to be a string in the A/UX 3.1 sh. | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1409 | cat <<_ACEOF | cat <<_ACEOF |
| 1410 | \`configure' configures this package to adapt to many kinds of systems. | \`configure' configures PCRE 7.1-RC3 to adapt to many kinds of systems. |
| 1411 | ||
| 1412 | Usage: $0 [OPTION]... [VAR=VALUE]... | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1413 | ||
| # | Line 973 Configuration: | Line 1427 Configuration: |
| 1427 | -n, --no-create do not create output files | -n, --no-create do not create output files |
| 1428 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1429 | ||
| _ACEOF | ||
| cat <<_ACEOF | ||
| 1430 | Installation directories: | Installation directories: |
| 1431 | --prefix=PREFIX install architecture-independent files in PREFIX | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1432 | [$ac_default_prefix] | [$ac_default_prefix] |
| # | Line 993 Fine tuning of the installation director | Line 1444 Fine tuning of the installation director |
| 1444 | --bindir=DIR user executables [EPREFIX/bin] | --bindir=DIR user executables [EPREFIX/bin] |
| 1445 | --sbindir=DIR system admin executables [EPREFIX/sbin] | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1446 | --libexecdir=DIR program executables [EPREFIX/libexec] | --libexecdir=DIR program executables [EPREFIX/libexec] |
| --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
| 1447 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1448 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1449 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1450 | --libdir=DIR object code libraries [EPREFIX/lib] | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1451 | --includedir=DIR C header files [PREFIX/include] | --includedir=DIR C header files [PREFIX/include] |
| 1452 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1453 | --infodir=DIR info documentation [PREFIX/info] | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1454 | --mandir=DIR man documentation [PREFIX/man] | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1455 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1456 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1457 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1458 | --docdir=DIR documentation root [DATAROOTDIR/doc/pcre] | |
| 1459 | --htmldir=DIR html documentation [DOCDIR] | |
| 1460 | --dvidir=DIR dvi documentation [DOCDIR] | |
| 1461 | --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1462 | --psdir=DIR ps documentation [DOCDIR] | |
| 1463 | _ACEOF | _ACEOF |
| 1464 | ||
| 1465 | cat <<\_ACEOF | cat <<\_ACEOF |
| 1466 | ||
| 1467 | Program names: | |
| 1468 | --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 1469 | --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 1470 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
| 1471 | ||
| 1472 | System types: | System types: |
| 1473 | --build=BUILD configure for building on BUILD [guessed] | --build=BUILD configure for building on BUILD [guessed] |
| 1474 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| # | Line 1013 _ACEOF | Line 1476 _ACEOF |
| 1476 | fi | fi |
| 1477 | ||
| 1478 | if test -n "$ac_init_help"; then | if test -n "$ac_init_help"; then |
| 1479 | case $ac_init_help in | |
| 1480 | short | recursive ) echo "Configuration of PCRE 7.1-RC3:";; | |
| 1481 | esac | |
| 1482 | cat <<\_ACEOF | cat <<\_ACEOF |
| 1483 | ||
| 1484 | Optional Features: | Optional Features: |
| 1485 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1486 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1487 | --disable-cpp disable C++ support | --disable-dependency-tracking speeds up one-time build |
| 1488 | --enable-shared[=PKGS] | --enable-dependency-tracking do not reject slow dependency extractors |
| 1489 | build shared libraries [default=yes] | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1490 | --enable-static[=PKGS] | --enable-static[=PKGS] build static libraries [default=yes] |
| build static libraries [default=yes] | ||
| 1491 | --enable-fast-install[=PKGS] | --enable-fast-install[=PKGS] |
| 1492 | optimize for fast installation [default=yes] | optimize for fast installation [default=yes] |
| 1493 | --disable-libtool-lock avoid locking (might break parallel builds) | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1494 | --enable-utf8 enable UTF8 support | --disable-cpp disable C++ support |
| 1495 | --enable-unicode-properties enable Unicode properties support | --enable-rebuild-chartables |
| 1496 | --enable-newline-is-cr use CR as the newline character | rebuild character tables in current locale |
| 1497 | --enable-newline-is-lf use LF as the newline character | --enable-utf8 enable UTF-8 support |
| 1498 | --enable-newline-is-crlf use CRLF as the newline sequence | --enable-unicode-properties |
| 1499 | --enable-ebcdic assume EBCDIC coding rather than ASCII | enable Unicode properties support (implies |
| 1500 | --disable-stack-for-recursion disable use of stack recursion when matching | --enable-utf8) |
| 1501 | --enable-newline-is-cr use CR as newline character | |
| 1502 | --enable-newline-is-lf use LF as newline character (default) | |
| 1503 | --enable-newline-is-crlf | |
| 1504 | use CRLF as newline sequence | |
| 1505 | --enable-newline-is-any use any valid Unicode newline sequence | |
| 1506 | --enable-ebcdic assume EBCDIC coding rather than ASCII (implies | |
| 1507 | --enable-rebuild-chartables) | |
| 1508 | --disable-stack-for-recursion | |
| 1509 | don't use stack recursion when matching | |
| 1510 | ||
| 1511 | Optional Packages: | Optional Packages: |
| 1512 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| # | Line 1041 Optional Packages: | Line 1514 Optional Packages: |
| 1514 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1515 | --with-pic try to use only PIC/non-PIC objects [default=use | --with-pic try to use only PIC/non-PIC objects [default=use |
| 1516 | both] | both] |
| 1517 | --with-tags[=TAGS] | --with-tags[=TAGS] include additional configurations [automatic] |
| 1518 | include additional configurations [automatic] | --with-posix-malloc-threshold=NBYTES |
| 1519 | --with-posix-malloc-threshold=10 threshold for POSIX malloc usage | threshold for POSIX malloc usage (default=10) |
| 1520 | --with-link-size=2 internal link size (2, 3, or 4 allowed) | --with-link-size=N internal link size (2, 3, or 4 allowed; default=2) |
| 1521 | --with-match-limit=10000000 default limit on internal looping | --with-match-limit=N default limit on internal looping (default=10000000) |
| 1522 | --with-match-limit-recursion=10000000 default limit on internal recursion | --with-match-limit-recursion=N |
| 1523 | default limit on internal recursion | |
| 1524 | (default=MATCH_LIMIT) | |
| 1525 | ||
| 1526 | Some influential environment variables: | Some influential environment variables: |
| 1527 | CC C compiler command | CC C compiler command |
| 1528 | CFLAGS C compiler flags | CFLAGS C compiler flags |
| 1529 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1530 | nonstandard directory <lib dir> | nonstandard directory <lib dir> |
| 1531 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1532 | headers in a nonstandard directory <include dir> | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1533 | you have headers in a nonstandard directory <include dir> | |
| 1534 | CXX C++ compiler command | CXX C++ compiler command |
| 1535 | CXXFLAGS C++ compiler flags | CXXFLAGS C++ compiler flags |
| 1536 | CPP C preprocessor | CPP C preprocessor |
| # | Line 1066 Use these variables to override the choi | Line 1542 Use these variables to override the choi |
| 1542 | it to find libraries and programs with nonstandard names/locations. | it to find libraries and programs with nonstandard names/locations. |
| 1543 | ||
| 1544 | _ACEOF | _ACEOF |
| 1545 | ac_status=$? | |
| 1546 | fi | fi |
| 1547 | ||
| 1548 | if test "$ac_init_help" = "recursive"; then | if test "$ac_init_help" = "recursive"; then |
| 1549 | # If there are subdirs, report their specific --help. | # If there are subdirs, report their specific --help. |
| ac_popdir=`pwd` | ||
| 1550 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1551 | test -d $ac_dir || continue | test -d "$ac_dir" || continue |
| 1552 | ac_builddir=. | ac_builddir=. |
| 1553 | ||
| 1554 | if test "$ac_dir" != .; then | case "$ac_dir" in |
| 1555 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1556 | *) | |
| 1557 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 1558 | # A "../" for each directory in $ac_dir_suffix. | # A ".." for each directory in $ac_dir_suffix. |
| 1559 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 1560 | else | case $ac_top_builddir_sub in |
| 1561 | ac_dir_suffix= ac_top_builddir= | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1562 | fi | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1563 | esac ;; | |
| 1564 | esac | |
| 1565 | ac_abs_top_builddir=$ac_pwd | |
| 1566 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1567 | # for backward compatibility: | |
| 1568 | ac_top_builddir=$ac_top_build_prefix | |
| 1569 | ||
| 1570 | case $srcdir in | case $srcdir in |
| 1571 | .) # No --srcdir option. We are building in place. | .) # We are building in place. |
| 1572 | ac_srcdir=. | ac_srcdir=. |
| 1573 | if test -z "$ac_top_builddir"; then | ac_top_srcdir=$ac_top_builddir_sub |
| 1574 | ac_top_srcdir=. | ac_abs_top_srcdir=$ac_pwd ;; |
| 1575 | else | [\\/]* | ?:[\\/]* ) # Absolute name. |
| ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
| fi ;; | ||
| [\\/]* | ?:[\\/]* ) # Absolute path. | ||
| 1576 | ac_srcdir=$srcdir$ac_dir_suffix; | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1577 | ac_top_srcdir=$srcdir ;; | ac_top_srcdir=$srcdir |
| 1578 | *) # Relative path. | ac_abs_top_srcdir=$srcdir ;; |
| 1579 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | *) # Relative name. |
| 1580 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1581 | esac | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1582 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| # Do not use `cd foo && pwd` to compute absolute paths, because | ||
| # the directories may not exist. | ||
| case `pwd` in | ||
| .) ac_abs_builddir="$ac_dir";; | ||
| *) | ||
| case "$ac_dir" in | ||
| .) ac_abs_builddir=`pwd`;; | ||
| [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
| *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
| esac;; | ||
| esac | ||
| case $ac_abs_builddir in | ||
| .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| *) | ||
| case ${ac_top_builddir}. in | ||
| .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
| [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
| esac;; | ||
| esac | ||
| case $ac_abs_builddir in | ||
| .) ac_abs_srcdir=$ac_srcdir;; | ||
| *) | ||
| case $ac_srcdir in | ||
| .) ac_abs_srcdir=$ac_abs_builddir;; | ||
| [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
| *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
| esac;; | ||
| esac | ||
| case $ac_abs_builddir in | ||
| .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| *) | ||
| case $ac_top_srcdir in | ||
| .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
| [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
| esac;; | ||
| 1583 | esac | esac |
| 1584 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1585 | ||
| 1586 | cd $ac_dir | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1587 | # Check for guested configure; otherwise get Cygnus style configure. | # Check for guested configure. |
| 1588 | if test -f $ac_srcdir/configure.gnu; then | if test -f "$ac_srcdir/configure.gnu"; then |
| 1589 | echo | echo && |
| 1590 | $SHELL $ac_srcdir/configure.gnu --help=recursive | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1591 | elif test -f $ac_srcdir/configure; then | elif test -f "$ac_srcdir/configure"; then |
| 1592 | echo | echo && |
| 1593 | $SHELL $ac_srcdir/configure --help=recursive | $SHELL "$ac_srcdir/configure" --help=recursive |
| elif test -f $ac_srcdir/configure.ac || | ||
| test -f $ac_srcdir/configure.in; then | ||
| echo | ||
| $ac_configure --help | ||
| 1594 | else | else |
| 1595 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1596 | fi | fi || ac_status=$? |
| 1597 | cd $ac_popdir | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1598 | done | done |
| 1599 | fi | fi |
| 1600 | ||
| 1601 | test -n "$ac_init_help" && exit 0 | test -n "$ac_init_help" && exit $ac_status |
| 1602 | if $ac_init_version; then | if $ac_init_version; then |
| 1603 | cat <<\_ACEOF | cat <<\_ACEOF |
| 1604 | PCRE configure 7.1-RC3 | |
| 1605 | generated by GNU Autoconf 2.61 | |
| 1606 | ||
| 1607 | Copyright (C) 2003 Free Software Foundation, Inc. | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1608 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
| 1609 | This configure script is free software; the Free Software Foundation | This configure script is free software; the Free Software Foundation |
| 1610 | gives unlimited permission to copy, distribute and modify it. | gives unlimited permission to copy, distribute and modify it. |
| 1611 | _ACEOF | _ACEOF |
| 1612 | exit 0 | exit |
| 1613 | fi | fi |
| 1614 | exec 5>config.log | cat >config.log <<_ACEOF |
| cat >&5 <<_ACEOF | ||
| 1615 | This file contains any messages produced by compilers while | This file contains any messages produced by compilers while |
| 1616 | running configure, to aid debugging if configure makes a mistake. | running configure, to aid debugging if configure makes a mistake. |
| 1617 | ||
| 1618 | It was created by $as_me, which was | It was created by PCRE $as_me 7.1-RC3, which was |
| 1619 | generated by GNU Autoconf 2.59. Invocation command line was | generated by GNU Autoconf 2.61. Invocation command line was |
| 1620 | ||
| 1621 | $ $0 $@ | $ $0 $@ |
| 1622 | ||
| 1623 | _ACEOF | _ACEOF |
| 1624 | exec 5>>config.log | |
| 1625 | { | { |
| 1626 | cat <<_ASUNAME | cat <<_ASUNAME |
| 1627 | ## --------- ## | ## --------- ## |
| # | Line 1196 uname -v = `(uname -v) 2>/dev/null || ec | Line 1640 uname -v = `(uname -v) 2>/dev/null || ec |
| 1640 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1641 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1642 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1643 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1644 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1645 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1646 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| # | Line 1210 do | Line 1654 do |
| 1654 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 1655 | echo "PATH: $as_dir" | echo "PATH: $as_dir" |
| 1656 | done | done |
| 1657 | IFS=$as_save_IFS | |
| 1658 | ||
| 1659 | } >&5 | } >&5 |
| 1660 | ||
| # | Line 1231 _ACEOF | Line 1676 _ACEOF |
| 1676 | ac_configure_args= | ac_configure_args= |
| 1677 | ac_configure_args0= | ac_configure_args0= |
| 1678 | ac_configure_args1= | ac_configure_args1= |
| ac_sep= | ||
| 1679 | ac_must_keep_next=false | ac_must_keep_next=false |
| 1680 | for ac_pass in 1 2 | for ac_pass in 1 2 |
| 1681 | do | do |
| # | Line 1242 do | Line 1686 do |
| 1686 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1687 | | -silent | --silent | --silen | --sile | --sil) | | -silent | --silent | --silen | --sile | --sil) |
| 1688 | continue ;; | continue ;; |
| 1689 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | *\'*) |
| 1690 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1691 | esac | esac |
| 1692 | case $ac_pass in | case $ac_pass in |
| # | Line 1264 do | Line 1708 do |
| 1708 | -* ) ac_must_keep_next=true ;; | -* ) ac_must_keep_next=true ;; |
| 1709 | esac | esac |
| 1710 | fi | fi |
| 1711 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | ac_configure_args="$ac_configure_args '$ac_arg'" |
| # Get rid of the leading space. | ||
| ac_sep=" " | ||
| 1712 | ;; | ;; |
| 1713 | esac | esac |
| 1714 | done | done |
| # | Line 1277 $as_unset ac_configure_args1 || test "${ | Line 1719 $as_unset ac_configure_args1 || test "${ |
| 1719 | # When interrupted or exit'd, cleanup temporary files, and complete | # When interrupted or exit'd, cleanup temporary files, and complete |
| 1720 | # config.log. We remove comments because anyway the quotes in there | # config.log. We remove comments because anyway the quotes in there |
| 1721 | # would cause problems or look ugly. | # would cause problems or look ugly. |
| 1722 | # WARNING: Be sure not to use single quotes in there, as some shells, | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1723 | # such as our DU 5.0 friend, will then `close' the trap. | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1724 | trap 'exit_status=$? | trap 'exit_status=$? |
| 1725 | # Save into config.log some information that might help in debugging. | # Save into config.log some information that might help in debugging. |
| 1726 | { | { |
| # | Line 1291 trap 'exit_status=$? | Line 1733 trap 'exit_status=$? |
| 1733 | _ASBOX | _ASBOX |
| 1734 | echo | echo |
| 1735 | # The following way of writing the cache mishandles newlines in values, | # The following way of writing the cache mishandles newlines in values, |
| 1736 | { | ( |
| 1737 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 1738 | eval ac_val=\$$ac_var | |
| 1739 | case $ac_val in #( | |
| 1740 | *${as_nl}*) | |
| 1741 | case $ac_var in #( | |
| 1742 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
| 1743 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
| 1744 | esac | |
| 1745 | case $ac_var in #( | |
| 1746 | _ | IFS | as_nl) ;; #( | |
| 1747 | *) $as_unset $ac_var ;; | |
| 1748 | esac ;; | |
| 1749 | esac | |
| 1750 | done | |
| 1751 | (set) 2>&1 | | (set) 2>&1 | |
| 1752 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1753 | *ac_space=\ *) | *${as_nl}ac_space=\ *) |
| 1754 | sed -n \ | sed -n \ |
| 1755 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | "s/'\''/'\''\\\\'\'''\''/g; |
| 1756 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1757 | ;; | ;; #( |
| 1758 | *) | *) |
| 1759 | sed -n \ | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
| 1760 | ;; | ;; |
| 1761 | esac; | esac | |
| 1762 | } | sort |
| 1763 | ) | |
| 1764 | echo | echo |
| 1765 | ||
| 1766 | cat <<\_ASBOX | cat <<\_ASBOX |
| # | Line 1315 _ASBOX | Line 1771 _ASBOX |
| 1771 | echo | echo |
| 1772 | for ac_var in $ac_subst_vars | for ac_var in $ac_subst_vars |
| 1773 | do | do |
| 1774 | eval ac_val=$`echo $ac_var` | eval ac_val=\$$ac_var |
| 1775 | echo "$ac_var='"'"'$ac_val'"'"'" | case $ac_val in |
| 1776 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1777 | esac | |
| 1778 | echo "$ac_var='\''$ac_val'\''" | |
| 1779 | done | sort | done | sort |
| 1780 | echo | echo |
| 1781 | ||
| 1782 | if test -n "$ac_subst_files"; then | if test -n "$ac_subst_files"; then |
| 1783 | cat <<\_ASBOX | cat <<\_ASBOX |
| 1784 | ## ------------- ## | ## ------------------- ## |
| 1785 | ## Output files. ## | ## File substitutions. ## |
| 1786 | ## ------------- ## | ## ------------------- ## |
| 1787 | _ASBOX | _ASBOX |
| 1788 | echo | echo |
| 1789 | for ac_var in $ac_subst_files | for ac_var in $ac_subst_files |
| 1790 | do | do |
| 1791 | eval ac_val=$`echo $ac_var` | eval ac_val=\$$ac_var |
| 1792 | echo "$ac_var='"'"'$ac_val'"'"'" | case $ac_val in |
| 1793 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1794 | esac | |
| 1795 | echo "$ac_var='\''$ac_val'\''" | |
| 1796 | done | sort | done | sort |
| 1797 | echo | echo |
| 1798 | fi | fi |
| # | Line 1342 _ASBOX | Line 1804 _ASBOX |
| 1804 | ## ----------- ## | ## ----------- ## |
| 1805 | _ASBOX | _ASBOX |
| 1806 | echo | echo |
| 1807 | sed "/^$/d" confdefs.h | sort | cat confdefs.h |
| 1808 | echo | echo |
| 1809 | fi | fi |
| 1810 | test "$ac_signal" != 0 && | test "$ac_signal" != 0 && |
| 1811 | echo "$as_me: caught signal $ac_signal" | echo "$as_me: caught signal $ac_signal" |
| 1812 | echo "$as_me: exit $exit_status" | echo "$as_me: exit $exit_status" |
| 1813 | } >&5 | } >&5 |
| 1814 | rm -f core *.core && | rm -f core *.core core.conftest.* && |
| 1815 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1816 | exit $exit_status | exit $exit_status |
| 1817 | ' 0 | ' 0 |
| 1818 | for ac_signal in 1 2 13 15; do | for ac_signal in 1 2 13 15; do |
| 1819 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1820 | done | done |
| 1821 | ac_signal=0 | ac_signal=0 |
| 1822 | ||
| 1823 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1824 | rm -rf conftest* confdefs.h | rm -f -r conftest* confdefs.h |
| # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
| echo >confdefs.h | ||
| 1825 | ||
| 1826 | # Predefined preprocessor variables. | # Predefined preprocessor variables. |
| 1827 | ||
| # | Line 1392 _ACEOF | Line 1852 _ACEOF |
| 1852 | ||
| 1853 | # Let the site file select an alternate cache file if it wants to. | # Let the site file select an alternate cache file if it wants to. |
| 1854 | # Prefer explicitly selected file to automatically selected ones. | # Prefer explicitly selected file to automatically selected ones. |
| 1855 | if test -z "$CONFIG_SITE"; then | if test -n "$CONFIG_SITE"; then |
| 1856 | if test "x$prefix" != xNONE; then | set x "$CONFIG_SITE" |
| 1857 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | elif test "x$prefix" != xNONE; then |
| 1858 | else | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1859 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | else |
| 1860 | fi | set x "$ac_default_prefix/share/config.site" \ |
| 1861 | "$ac_default_prefix/etc/config.site" | |
| 1862 | fi | fi |
| 1863 | for ac_site_file in $CONFIG_SITE; do | shift |
| 1864 | for ac_site_file | |
| 1865 | do | |
| 1866 | if test -r "$ac_site_file"; then | if test -r "$ac_site_file"; then |
| 1867 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1868 | echo "$as_me: loading site script $ac_site_file" >&6;} | echo "$as_me: loading site script $ac_site_file" >&6;} |
| # | Line 1415 if test -r "$cache_file"; then | Line 1878 if test -r "$cache_file"; then |
| 1878 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1879 | echo "$as_me: loading cache $cache_file" >&6;} | echo "$as_me: loading cache $cache_file" >&6;} |
| 1880 | case $cache_file in | case $cache_file in |
| 1881 | [\\/]* | ?:[\\/]* ) . $cache_file;; | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1882 | *) . ./$cache_file;; | *) . "./$cache_file";; |
| 1883 | esac | esac |
| 1884 | fi | fi |
| 1885 | else | else |
| # | Line 1428 fi | Line 1891 fi |
| 1891 | # Check that the precious variables saved in the cache have kept the same | # Check that the precious variables saved in the cache have kept the same |
| 1892 | # value. | # value. |
| 1893 | ac_cache_corrupted=false | ac_cache_corrupted=false |
| 1894 | for ac_var in `(set) 2>&1 | | for ac_var in $ac_precious_vars; do |
| sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
| 1895 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1896 | eval ac_new_set=\$ac_env_${ac_var}_set | eval ac_new_set=\$ac_env_${ac_var}_set |
| 1897 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1898 | eval ac_new_val="\$ac_env_${ac_var}_value" | eval ac_new_val=\$ac_env_${ac_var}_value |
| 1899 | case $ac_old_set,$ac_new_set in | case $ac_old_set,$ac_new_set in |
| 1900 | set,) | set,) |
| 1901 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| # | Line 1458 echo "$as_me: current value: $ac_new_v | Line 1920 echo "$as_me: current value: $ac_new_v |
| 1920 | # Pass precious variables to config.status. | # Pass precious variables to config.status. |
| 1921 | if test "$ac_new_set" = set; then | if test "$ac_new_set" = set; then |
| 1922 | case $ac_new_val in | case $ac_new_val in |
| 1923 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1924 | *) ac_arg=$ac_var=$ac_new_val ;; | *) ac_arg=$ac_var=$ac_new_val ;; |
| 1925 | esac | esac |
| 1926 | case " $ac_configure_args " in | case " $ac_configure_args " in |
| # | Line 1476 echo "$as_me: error: run \`make distclea | Line 1937 echo "$as_me: error: run \`make distclea |
| 1937 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 1938 | fi | fi |
| 1939 | ||
| ac_ext=c | ||
| ac_cpp='$CPP $CPPFLAGS' | ||
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1940 | ||
| 1941 | ||
| 1942 | ||
| # | Line 1505 ac_compiler_gnu=$ac_cv_c_compiler_gnu | Line 1960 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1960 | ||
| 1961 | ||
| 1962 | ||
| ac_config_headers="$ac_config_headers config.h" | ||
| POSIX_MALLOC_THRESHOLD=-DPOSIX_MALLOC_THRESHOLD=10 | ||
| 1963 | ||
| 1964 | ac_ext=c | |
| 1965 | ac_cpp='$CPP $CPPFLAGS' | |
| 1966 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1967 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1968 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 1969 | ||
| PCRE_LIB_VERSION=0:1:0 | ||
| PCRE_POSIXLIB_VERSION=0:0:0 | ||
| PCRE_CPPLIB_VERSION=0:0:0 | ||
| 1970 | ||
| 1971 | ||
| 1972 | PCRE_MAJOR=`grep '#define PCRE_MAJOR' ${srcdir}/pcre.h | cut -c 29-` | am__api_version='1.10' |
| PCRE_MINOR=`grep '#define PCRE_MINOR' ${srcdir}/pcre.h | cut -c 29-` | ||
| PCRE_PRERELEASE=`grep '#define PCRE_PRERELEASE' ${srcdir}/pcre.h | cut -c 29-` | ||
| PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}${PCRE_PRERELEASE} | ||
| 1973 | ||
| 1974 | ac_aux_dir= | |
| 1975 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
| 1976 | if test -f "$ac_dir/install-sh"; then | |
| 1977 | ac_aux_dir=$ac_dir | |
| 1978 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
| 1979 | break | |
| 1980 | elif test -f "$ac_dir/install.sh"; then | |
| 1981 | ac_aux_dir=$ac_dir | |
| 1982 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
| 1983 | break | |
| 1984 | elif test -f "$ac_dir/shtool"; then | |
| 1985 | ac_aux_dir=$ac_dir | |
| 1986 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 1987 | break | |
| 1988 | fi | |
| 1989 | done | |
| 1990 | if test -z "$ac_aux_dir"; then | |
| 1991 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | |
| 1992 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
| 1993 | { (exit 1); exit 1; }; } | |
| 1994 | fi | |
| 1995 | ||
| 1996 | # Check whether --enable-cpp or --disable-cpp was given. | # These three variables are undocumented and unsupported, |
| 1997 | if test "${enable_cpp+set}" = set; then | # and are intended to be withdrawn in a future Autoconf release. |
| 1998 | enableval="$enable_cpp" | # They can cause serious problems if a builder's source tree is in a directory |
| 1999 | want_cpp="$enableval" | # whose full name contains unusual characters. |
| 2000 | else | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 2001 | want_cpp=yes | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 2002 | fi; | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 2003 | ||
| 2004 | ||
| 2005 | ac_ext=c | # Find a good install program. We prefer a C program (faster), |
| 2006 | ac_cpp='$CPP $CPPFLAGS' | # so one script is as good as another. But avoid the broken or |
| 2007 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | # incompatible versions: |
| 2008 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | # SysV /etc/install, /usr/sbin/install |
| 2009 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | # SunOS /usr/etc/install |
| 2010 | if test -n "$ac_tool_prefix"; then | # IRIX /sbin/install |
| 2011 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | # AIX /bin/install |
| 2012 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 2013 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 2014 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 2015 | if test "${ac_cv_prog_CC+set}" = set; then | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2016 | # OS/2's system install, which has a completely different semantic | |
| 2017 | # ./install, which can be erroneously created by make from ./install.sh. | |
| 2018 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
| 2019 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | |
| 2020 | if test -z "$INSTALL"; then | |
| 2021 | if test "${ac_cv_path_install+set}" = set; then | |
| 2022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2023 | else | else |
| 2024 | if test -n "$CC"; then | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| ac_cv_prog_CC="$CC" # Let the user override the test. | ||
| else | ||
| as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2025 | for as_dir in $PATH | for as_dir in $PATH |
| 2026 | do | do |
| 2027 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2028 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2029 | for ac_exec_ext in '' $ac_executable_extensions; do | # Account for people who put trailing slashes in PATH elements. |
| 2030 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | case $as_dir/ in |
| 2031 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ./ | .// | /cC/* | \ |
| 2032 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2033 | break 2 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
| 2034 | fi | /usr/ucb/* ) ;; |
| 2035 | done | *) |
| 2036 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 2037 | # Don't use installbsd from OSF since it installs stuff as root | |
| 2038 | # by default. | |
| 2039 | for ac_prog in ginstall scoinst install; do | |
| 2040 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2041 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
| 2042 | if test $ac_prog = install && | |
| 2043 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2044 | # AIX install. It has an incompatible calling convention. | |
| 2045 | : | |
| 2046 | elif test $ac_prog = install && | |
| 2047 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2048 | # program-specific install script used by HP pwplus--don't use. | |
| 2049 | : | |
| 2050 | else | |
| 2051 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 2052 | break 3 | |
| 2053 | fi | |
| 2054 | fi | |
| 2055 | done | |
| 2056 | done | |
| 2057 | ;; | |
| 2058 | esac | |
| 2059 | done | done |
| 2060 | IFS=$as_save_IFS | |
| 2061 | ||
| 2062 | ||
| 2063 | fi | fi |
| 2064 | if test "${ac_cv_path_install+set}" = set; then | |
| 2065 | INSTALL=$ac_cv_path_install | |
| 2066 | else | |
| 2067 | # As a last resort, use the slow shell script. Don't cache a | |
| 2068 | # value for INSTALL within a source directory, because that will | |
| 2069 | # break other packages using the cache if that directory is | |
| 2070 | # removed, or if the value is a relative name. | |
| 2071 | INSTALL=$ac_install_sh | |
| 2072 | fi | |
| 2073 | fi | fi |
| 2074 | CC=$ac_cv_prog_CC | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 2075 | if test -n "$CC"; then | echo "${ECHO_T}$INSTALL" >&6; } |
| 2076 | echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2077 | echo "${ECHO_T}$CC" >&6 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 2078 | # It thinks the first close brace ends the variable substitution. | |
| 2079 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 2080 | ||
| 2081 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
| 2082 | ||
| 2083 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 2084 | ||
| 2085 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 | |
| 2086 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } | |
| 2087 | # Just in case | |
| 2088 | sleep 1 | |
| 2089 | echo timestamp > conftest.file | |
| 2090 | # Do `set' in a subshell so we don't clobber the current shell's | |
| 2091 | # arguments. Must try -L first in case configure is actually a | |
| 2092 | # symlink; some systems play weird games with the mod time of symlinks | |
| 2093 | # (eg FreeBSD returns the mod time of the symlink's containing | |
| 2094 | # directory). | |
| 2095 | if ( | |
| 2096 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` | |
| 2097 | if test "$*" = "X"; then | |
| 2098 | # -L didn't work. | |
| 2099 | set X `ls -t $srcdir/configure conftest.file` | |
| 2100 | fi | |
| 2101 | rm -f conftest.file | |
| 2102 | if test "$*" != "X $srcdir/configure conftest.file" \ | |
| 2103 | && test "$*" != "X conftest.file $srcdir/configure"; then | |
| 2104 | ||
| 2105 | # If neither matched, then we have a broken ls. This can happen | |
| 2106 | # if, for instance, CONFIG_SHELL is bash and it inherits a | |
| 2107 | # broken ls alias from the environment. This has actually | |
| 2108 | # happened. Such a system could not be considered "sane". | |
| 2109 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken | |
| 2110 | alias in your environment" >&5 | |
| 2111 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | |
| 2112 | alias in your environment" >&2;} | |
| 2113 | { (exit 1); exit 1; }; } | |
| 2114 | fi | |
| 2115 | ||
| 2116 | test "$2" = conftest.file | |
| 2117 | ) | |
| 2118 | then | |
| 2119 | # Ok. | |
| 2120 | : | |
| 2121 | else | else |
| 2122 | echo "$as_me:$LINENO: result: no" >&5 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
| 2123 | echo "${ECHO_T}no" >&6 | Check your system clock" >&5 |
| 2124 | echo "$as_me: error: newly created file is older than distributed files! | |
| 2125 | Check your system clock" >&2;} | |
| 2126 | { (exit 1); exit 1; }; } | |
| 2127 | fi | fi |
| 2128 | { echo "$as_me:$LINENO: result: yes" >&5 | |
| 2129 | echo "${ECHO_T}yes" >&6; } | |
| 2130 | test "$program_prefix" != NONE && | |
| 2131 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
| 2132 | # Use a double $ so make ignores it. | |
| 2133 | test "$program_suffix" != NONE && | |
| 2134 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
| 2135 | # Double any \ or $. echo might interpret backslashes. | |
| 2136 | # By default was `s,x,x', remove it if useless. | |
| 2137 | cat <<\_ACEOF >conftest.sed | |
| 2138 | s/[\\$]/&&/g;s/;s,x,x,$// | |
| 2139 | _ACEOF | |
| 2140 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | |
| 2141 | rm -f conftest.sed | |
| 2142 | ||
| 2143 | # expand $ac_aux_dir to an absolute path | |
| 2144 | am_aux_dir=`cd $ac_aux_dir && pwd` | |
| 2145 | ||
| 2146 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" | |
| 2147 | # Use eval to expand $SHELL | |
| 2148 | if eval "$MISSING --run true"; then | |
| 2149 | am_missing_run="$MISSING --run " | |
| 2150 | else | |
| 2151 | am_missing_run= | |
| 2152 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 | |
| 2153 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
| 2154 | fi | |
| 2155 | ||
| 2156 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 | |
| 2157 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } | |
| 2158 | if test -z "$MKDIR_P"; then | |
| 2159 | if test "${ac_cv_path_mkdir+set}" = set; then | |
| 2160 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2161 | else | |
| 2162 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2163 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
| 2164 | do | |
| 2165 | IFS=$as_save_IFS | |
| 2166 | test -z "$as_dir" && as_dir=. | |
| 2167 | for ac_prog in mkdir gmkdir; do | |
| 2168 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2169 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
| 2170 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
| 2171 | 'mkdir (GNU coreutils) '* | \ | |
| 2172 | 'mkdir (coreutils) '* | \ | |
| 2173 | 'mkdir (fileutils) '4.1*) | |
| 2174 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
| 2175 | break 3;; | |
| 2176 | esac | |
| 2177 | done | |
| 2178 | done | |
| 2179 | done | |
| 2180 | IFS=$as_save_IFS | |
| 2181 | ||
| 2182 | fi | fi |
| 2183 | if test -z "$ac_cv_prog_CC"; then | |
| 2184 | ac_ct_CC=$CC | if test "${ac_cv_path_mkdir+set}" = set; then |
| 2185 | # Extract the first word of "gcc", so it can be a program name with args. | MKDIR_P="$ac_cv_path_mkdir -p" |
| 2186 | set dummy gcc; ac_word=$2 | else |
| 2187 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | # As a last resort, use the slow shell script. Don't cache a |
| 2188 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | # value for MKDIR_P within a source directory, because that will |
| 2189 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | # break other packages using the cache if that directory is |
| 2190 | # removed, or if the value is a relative name. | |
| 2191 | test -d ./--version && rmdir ./--version | |
| 2192 | MKDIR_P="$ac_install_sh -d" | |
| 2193 | fi | |
| 2194 | fi | |
| 2195 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 | |
| 2196 | echo "${ECHO_T}$MKDIR_P" >&6; } | |
| 2197 | ||
| 2198 | mkdir_p="$MKDIR_P" | |
| 2199 | case $mkdir_p in | |
| 2200 | [\\/$]* | ?:[\\/]*) ;; | |
| 2201 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
| 2202 | esac | |
| 2203 | ||
| 2204 | for ac_prog in gawk mawk nawk awk | |
| 2205 | do | |
| 2206 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2207 | set dummy $ac_prog; ac_word=$2 | |
| 2208 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2209 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2210 | if test "${ac_cv_prog_AWK+set}" = set; then | |
| 2211 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2212 | else | else |
| 2213 | if test -n "$ac_ct_CC"; then | if test -n "$AWK"; then |
| 2214 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2215 | else | else |
| 2216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2217 | for as_dir in $PATH | for as_dir in $PATH |
| # | Line 1592 do | Line 2219 do |
| 2219 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2220 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2221 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2222 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2223 | ac_cv_prog_ac_ct_CC="gcc" | ac_cv_prog_AWK="$ac_prog" |
| 2224 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2225 | break 2 | break 2 |
| 2226 | fi | fi |
| 2227 | done | done |
| 2228 | done | done |
| 2229 | IFS=$as_save_IFS | |
| 2230 | ||
| 2231 | fi | fi |
| 2232 | fi | fi |
| 2233 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | AWK=$ac_cv_prog_AWK |
| 2234 | if test -n "$ac_ct_CC"; then | if test -n "$AWK"; then |
| 2235 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
| 2236 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$AWK" >&6; } |
| 2237 | else | else |
| 2238 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2239 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2240 | fi | fi |
| 2241 | ||
| 2242 | CC=$ac_ct_CC | |
| 2243 | test -n "$AWK" && break | |
| 2244 | done | |
| 2245 | ||
| 2246 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
| 2247 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } | |
| 2248 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
| 2249 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then | |
| 2250 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2251 | else | else |
| 2252 | CC="$ac_cv_prog_CC" | cat >conftest.make <<\_ACEOF |
| 2253 | SHELL = /bin/sh | |
| 2254 | all: | |
| 2255 | @echo '@@@%%%=$(MAKE)=@@@%%%' | |
| 2256 | _ACEOF | |
| 2257 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| 2258 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
| 2259 | *@@@%%%=?*=@@@%%%*) | |
| 2260 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
| 2261 | *) | |
| 2262 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
| 2263 | esac | |
| 2264 | rm -f conftest.make | |
| 2265 | fi | |
| 2266 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
| 2267 | { echo "$as_me:$LINENO: result: yes" >&5 | |
| 2268 | echo "${ECHO_T}yes" >&6; } | |
| 2269 | SET_MAKE= | |
| 2270 | else | |
| 2271 | { echo "$as_me:$LINENO: result: no" >&5 | |
| 2272 | echo "${ECHO_T}no" >&6; } | |
| 2273 | SET_MAKE="MAKE=${MAKE-make}" | |
| 2274 | fi | |
| 2275 | ||
| 2276 | rm -rf .tst 2>/dev/null | |
| 2277 | mkdir .tst 2>/dev/null | |
| 2278 | if test -d .tst; then | |
| 2279 | am__leading_dot=. | |
| 2280 | else | |
| 2281 | am__leading_dot=_ | |
| 2282 | fi | |
| 2283 | rmdir .tst 2>/dev/null | |
| 2284 | ||
| 2285 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 2286 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 2287 | # is not polluted with repeated "-I." | |
| 2288 | am__isrc=' -I$(srcdir)' | |
| 2289 | # test to see if srcdir already configured | |
| 2290 | if test -f $srcdir/config.status; then | |
| 2291 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 | |
| 2292 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | |
| 2293 | { (exit 1); exit 1; }; } | |
| 2294 | fi | |
| 2295 | fi | fi |
| 2296 | ||
| 2297 | if test -z "$CC"; then | # test whether we have cygpath |
| 2298 | if test -z "$CYGPATH_W"; then | |
| 2299 | if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 2300 | CYGPATH_W='cygpath -w' | |
| 2301 | else | |
| 2302 | CYGPATH_W=echo | |
| 2303 | fi | |
| 2304 | fi | |
| 2305 | ||
| 2306 | ||
| 2307 | # Define the identity of the package. | |
| 2308 | PACKAGE='pcre' | |
| 2309 | VERSION='7.1-RC3' | |
| 2310 | ||
| 2311 | ||
| 2312 | cat >>confdefs.h <<_ACEOF | |
| 2313 | #define PACKAGE "$PACKAGE" | |
| 2314 | _ACEOF | |
| 2315 | ||
| 2316 | ||
| 2317 | cat >>confdefs.h <<_ACEOF | |
| 2318 | #define VERSION "$VERSION" | |
| 2319 | _ACEOF | |
| 2320 | ||
| 2321 | # Some tools Automake needs. | |
| 2322 | ||
| 2323 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
| 2324 | ||
| 2325 | ||
| 2326 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
| 2327 | ||
| 2328 | ||
| 2329 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
| 2330 | ||
| 2331 | ||
| 2332 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
| 2333 | ||
| 2334 | ||
| 2335 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
| 2336 | ||
| 2337 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} | |
| 2338 | ||
| 2339 | # Installed binaries are usually stripped using `strip' when the user | |
| 2340 | # run `make install-strip'. However `strip' might not be the right | |
| 2341 | # tool to use in cross-compilation environments, therefore Automake | |
| 2342 | # will honor the `STRIP' environment variable to overrule this program. | |
| 2343 | if test "$cross_compiling" != no; then | |
| 2344 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
| 2345 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 2346 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 2347 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2348 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2349 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_STRIP+set}" = set; then |
| 2350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2351 | else | else |
| 2352 | if test -n "$CC"; then | if test -n "$STRIP"; then |
| 2353 | ac_cv_prog_CC="$CC" # Let the user override the test. | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2354 | else | else |
| 2355 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2356 | for as_dir in $PATH | for as_dir in $PATH |
| # | Line 1634 do | Line 2358 do |
| 2358 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2359 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2360 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2361 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2362 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 2363 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2364 | break 2 | break 2 |
| 2365 | fi | fi |
| 2366 | done | done |
| 2367 | done | done |
| 2368 | IFS=$as_save_IFS | |
| 2369 | ||
| 2370 | fi | fi |
| 2371 | fi | fi |
| 2372 | CC=$ac_cv_prog_CC | STRIP=$ac_cv_prog_STRIP |
| 2373 | if test -n "$CC"; then | if test -n "$STRIP"; then |
| 2374 | echo "$as_me:$LINENO: result: $CC" >&5 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
| 2375 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$STRIP" >&6; } |
| 2376 | else | else |
| 2377 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2378 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2379 | fi | |
| 2380 | ||
| 2381 | ||
| 2382 | fi | |
| 2383 | if test -z "$ac_cv_prog_STRIP"; then | |
| 2384 | ac_ct_STRIP=$STRIP | |
| 2385 | # Extract the first word of "strip", so it can be a program name with args. | |
| 2386 | set dummy strip; ac_word=$2 | |
| 2387 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2388 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2389 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | |
| 2390 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2391 | else | |
| 2392 | if test -n "$ac_ct_STRIP"; then | |
| 2393 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 2394 | else | |
| 2395 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2396 | for as_dir in $PATH | |
| 2397 | do | |
| 2398 | IFS=$as_save_IFS | |
| 2399 | test -z "$as_dir" && as_dir=. | |
| 2400 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2401 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2402 | ac_cv_prog_ac_ct_STRIP="strip" | |
| 2403 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2404 | break 2 | |
| 2405 | fi | |
| 2406 | done | |
| 2407 | done | |
| 2408 | IFS=$as_save_IFS | |
| 2409 | ||
| 2410 | fi | |
| 2411 | fi | |
| 2412 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 2413 | if test -n "$ac_ct_STRIP"; then | |
| 2414 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | |
| 2415 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } | |
| 2416 | else | |
| 2417 | { echo "$as_me:$LINENO: result: no" >&5 | |
| 2418 | echo "${ECHO_T}no" >&6; } | |
| 2419 | fi | |
| 2420 | ||
| 2421 | if test "x$ac_ct_STRIP" = x; then | |
| 2422 | STRIP=":" | |
| 2423 | else | |
| 2424 | case $cross_compiling:$ac_tool_warned in | |
| 2425 | yes:) | |
| 2426 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2427 | whose name does not start with the host triplet. If you think this | |
| 2428 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2429 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2430 | whose name does not start with the host triplet. If you think this | |
| 2431 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2432 | ac_tool_warned=yes ;; | |
| 2433 | esac | |
| 2434 | STRIP=$ac_ct_STRIP | |
| 2435 | fi | |
| 2436 | else | |
| 2437 | STRIP="$ac_cv_prog_STRIP" | |
| 2438 | fi | |
| 2439 | ||
| 2440 | fi | |
| 2441 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 2442 | ||
| 2443 | # We need awk for the "check" target. The system "awk" is bad on | |
| 2444 | # some platforms. | |
| 2445 | # Always define AMTAR for backward compatibility. | |
| 2446 | ||
| 2447 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
| 2448 | ||
| 2449 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
| 2450 | ||
| 2451 | ||
| 2452 | ||
| 2453 | ||
| 2454 | ||
| 2455 | ac_config_headers="$ac_config_headers config.h" | |
| 2456 | ||
| 2457 | ac_ext=c | |
| 2458 | ac_cpp='$CPP $CPPFLAGS' | |
| 2459 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2460 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2461 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2462 | if test -n "$ac_tool_prefix"; then | |
| 2463 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2464 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2465 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2466 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2467 | if test "${ac_cv_prog_CC+set}" = set; then | |
| 2468 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2469 | else | |
| 2470 | if test -n "$CC"; then | |
| 2471 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2472 | else | |
| 2473 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2474 | for as_dir in $PATH | |
| 2475 | do | |
| 2476 | IFS=$as_save_IFS | |
| 2477 | test -z "$as_dir" && as_dir=. | |
| 2478 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2479 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2480 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2481 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2482 | break 2 | |
| 2483 | fi | |
| 2484 | done | |
| 2485 | done | |
| 2486 | IFS=$as_save_IFS | |
| 2487 | ||
| 2488 | fi | fi |
| 2489 | fi | |
| 2490 | CC=$ac_cv_prog_CC | |
| 2491 | if test -n "$CC"; then | |
| 2492 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2493 | echo "${ECHO_T}$CC" >&6; } | |
| 2494 | else | |
| 2495 | { echo "$as_me:$LINENO: result: no" >&5 | |
| 2496 | echo "${ECHO_T}no" >&6; } | |
| 2497 | fi | |
| 2498 | ||
| 2499 | ||
| 2500 | fi | fi |
| 2501 | if test -z "$ac_cv_prog_CC"; then | if test -z "$ac_cv_prog_CC"; then |
| 2502 | ac_ct_CC=$CC | ac_ct_CC=$CC |
| 2503 | # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
| 2504 | set dummy cc; ac_word=$2 | set dummy gcc; ac_word=$2 |
| 2505 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2506 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2507 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2508 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2509 | else | else |
| # | Line 1672 do | Line 2516 do |
| 2516 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2517 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2518 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2519 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2520 | ac_cv_prog_ac_ct_CC="cc" | ac_cv_prog_ac_ct_CC="gcc" |
| 2521 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2522 | break 2 | break 2 |
| 2523 | fi | fi |
| 2524 | done | done |
| 2525 | done | done |
| 2526 | IFS=$as_save_IFS | |
| 2527 | ||
| 2528 | fi | fi |
| 2529 | fi | fi |
| 2530 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2531 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
| 2532 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2533 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2534 | else | else |
| 2535 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2536 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2537 | fi | fi |
| 2538 | ||
| 2539 | CC=$ac_ct_CC | if test "x$ac_ct_CC" = x; then |
| 2540 | CC="" | |
| 2541 | else | |
| 2542 | case $cross_compiling:$ac_tool_warned in | |
| 2543 | yes:) | |
| 2544 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2545 | whose name does not start with the host triplet. If you think this | |
| 2546 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2547 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2548 | whose name does not start with the host triplet. If you think this | |
| 2549 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2550 | ac_tool_warned=yes ;; | |
| 2551 | esac | |
| 2552 | CC=$ac_ct_CC | |
| 2553 | fi | |
| 2554 | else | else |
| 2555 | CC="$ac_cv_prog_CC" | CC="$ac_cv_prog_CC" |
| 2556 | fi | fi |
| 2557 | ||
| 2558 | if test -z "$CC"; then | |
| 2559 | if test -n "$ac_tool_prefix"; then | |
| 2560 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2561 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2562 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
| 2563 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
| 2564 | if test "${ac_cv_prog_CC+set}" = set; then | |
| 2565 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 2566 | else | |
| 2567 | if test -n "$CC"; then | |
| 2568 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2569 | else | |
| 2570 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2571 | for as_dir in $PATH | |
| 2572 | do | |
| 2573 | IFS=$as_save_IFS | |
| 2574 | test -z "$as_dir" && as_dir=. | |
| 2575 | for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2576 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
| 2577 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2578 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2579 | break 2 | |
| 2580 | fi | |
| 2581 | done | |
| 2582 | done | |
| 2583 | IFS=$as_save_IFS | |
| 2584 | ||
| 2585 | fi | |
| 2586 | fi | |
| 2587 | CC=$ac_cv_prog_CC | |
| 2588 | if test -n "$CC"; then | |
| 2589 | { echo "$as_me:$LINENO: result: $CC" >&5 | |
| 2590 | echo "${ECHO_T}$CC" >&6; } | |
| 2591 | else | |
| 2592 | { echo "$as_me:$LINENO: result: no" >&5 | |
| 2593 | echo "${ECHO_T}no" >&6; } | |
| 2594 | fi | |
| 2595 | ||
| 2596 | ||
| 2597 | fi | |
| 2598 | fi | fi |
| 2599 | if test -z "$CC"; then | if test -z "$CC"; then |
| 2600 | # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
| 2601 | set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
| 2602 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2603 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2604 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
| 2605 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2606 | else | else |
| # | Line 1715 do | Line 2614 do |
| 2614 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2615 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2616 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2617 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2618 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2619 | ac_prog_rejected=yes | ac_prog_rejected=yes |
| 2620 | continue | continue |
| # | Line 1726 do | Line 2625 do |
| 2625 | fi | fi |
| 2626 | done | done |
| 2627 | done | done |
| 2628 | IFS=$as_save_IFS | |
| 2629 | ||
| 2630 | if test $ac_prog_rejected = yes; then | if test $ac_prog_rejected = yes; then |
| 2631 | # We found a bogon in the path, so make sure we never use it. | # We found a bogon in the path, so make sure we never use it. |
| # | Line 1743 fi | Line 2643 fi |
| 2643 | fi | fi |
| 2644 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
| 2645 | if test -n "$CC"; then | if test -n "$CC"; then |
| 2646 | echo "$as_me:$LINENO: result: $CC" >&5 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2647 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6; } |
| 2648 | else | else |
| 2649 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2650 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2651 | fi | fi |
| 2652 | ||
| 2653 | ||
| 2654 | fi | fi |
| 2655 | if test -z "$CC"; then | if test -z "$CC"; then |
| 2656 | if test -n "$ac_tool_prefix"; then | if test -n "$ac_tool_prefix"; then |
| 2657 | for ac_prog in cl | for ac_prog in cl.exe |
| 2658 | do | do |
| 2659 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2660 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2661 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2662 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2663 | if test "${ac_cv_prog_CC+set}" = set; then | if test "${ac_cv_prog_CC+set}" = set; then |
| 2664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2665 | else | else |
| # | Line 1771 do | Line 2672 do |
| 2672 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2673 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2674 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2675 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2676 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2677 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2678 | break 2 | break 2 |
| 2679 | fi | fi |
| 2680 | done | done |
| 2681 | done | done |
| 2682 | IFS=$as_save_IFS | |
| 2683 | ||
| 2684 | fi | fi |
| 2685 | fi | fi |
| 2686 | CC=$ac_cv_prog_CC | CC=$ac_cv_prog_CC |
| 2687 | if test -n "$CC"; then | if test -n "$CC"; then |
| 2688 | echo "$as_me:$LINENO: result: $CC" >&5 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2689 | echo "${ECHO_T}$CC" >&6 | echo "${ECHO_T}$CC" >&6; } |
| 2690 | else | else |
| 2691 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2692 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2693 | fi | fi |
| 2694 | ||
| 2695 | ||
| 2696 | test -n "$CC" && break | test -n "$CC" && break |
| 2697 | done | done |
| 2698 | fi | fi |
| 2699 | if test -z "$CC"; then | if test -z "$CC"; then |
| 2700 | ac_ct_CC=$CC | ac_ct_CC=$CC |
| 2701 | for ac_prog in cl | for ac_prog in cl.exe |
| 2702 | do | do |
| 2703 | # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2704 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
| 2705 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2706 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2707 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2709 | else | else |
| # | Line 1813 do | Line 2716 do |
| 2716 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 2717 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 2718 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2719 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2720 | ac_cv_prog_ac_ct_CC="$ac_prog" | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 2721 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2722 | break 2 | break 2 |
| 2723 | fi | fi |
| 2724 | done | done |
| 2725 | done | done |
| 2726 | IFS=$as_save_IFS | |
| 2727 | ||
| 2728 | fi | fi |
| 2729 | fi | fi |
| 2730 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2731 | if test -n "$ac_ct_CC"; then | if test -n "$ac_ct_CC"; then |
| 2732 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2733 | echo "${ECHO_T}$ac_ct_CC" >&6 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2734 | else | else |
| 2735 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2736 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 2737 | fi | fi |
| 2738 | ||
| 2739 | ||
| 2740 | test -n "$ac_ct_CC" && break | test -n "$ac_ct_CC" && break |
| 2741 | done | done |
| 2742 | ||
| 2743 | CC=$ac_ct_CC | if test "x$ac_ct_CC" = x; then |
| 2744 | CC="" | |
| 2745 | else | |
| 2746 | case $cross_compiling:$ac_tool_warned in | |
| 2747 | yes:) | |
| 2748 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2749 | whose name does not start with the host triplet. If you think this | |
| 2750 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 2751 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 2752 | whose name does not start with the host triplet. If you think this | |
| 2753 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 2754 | ac_tool_warned=yes ;; | |
| 2755 | esac | |
| 2756 | CC=$ac_ct_CC | |
| 2757 | fi | |
| 2758 | fi | fi |
| 2759 | ||
| 2760 | fi | fi |
| # | Line 1848 See \`config.log' for more details." >&2 | Line 2767 See \`config.log' for more details." >&2 |
| 2767 | { (exit 1); exit 1; }; } | { (exit 1); exit 1; }; } |
| 2768 | ||
| 2769 | # Provide some information about the compiler. | # Provide some information about the compiler. |
| 2770 | echo "$as_me:$LINENO:" \ | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| "checking for C compiler version" >&5 | ||
| 2771 | ac_compiler=`set X $ac_compile; echo $2` | ac_compiler=`set X $ac_compile; echo $2` |
| 2772 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler --version >&5" |
| 2773 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 2774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2775 | *) ac_try_echo=$ac_try;; | |
| 2776 | esac | |
| 2777 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2778 | (eval "$ac_compiler --version >&5") 2>&5 | |
| 2779 | ac_status=$? | ac_status=$? |
| 2780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2781 | (exit $ac_status); } | (exit $ac_status); } |
| 2782 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler -v >&5" |
| 2783 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 2784 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2785 | *) ac_try_echo=$ac_try;; | |
| 2786 | esac | |
| 2787 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2788 | (eval "$ac_compiler -v >&5") 2>&5 | |
| 2789 | ac_status=$? | ac_status=$? |
| 2790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2791 | (exit $ac_status); } | (exit $ac_status); } |
| 2792 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler -V >&5" |
| 2793 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 2794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2795 | *) ac_try_echo=$ac_try;; | |
| 2796 | esac | |
| 2797 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2798 | (eval "$ac_compiler -V >&5") 2>&5 | |
| 2799 | ac_status=$? | ac_status=$? |
| 2800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2801 | (exit $ac_status); } | (exit $ac_status); } |
| # | Line 1887 ac_clean_files="$ac_clean_files a.out a. | Line 2820 ac_clean_files="$ac_clean_files a.out a. |
| 2820 | # Try to create an executable without -o first, disregard a.out. | # Try to create an executable without -o first, disregard a.out. |
| 2821 | # It will help us diagnose broken compilers, and finding out an intuition | # It will help us diagnose broken compilers, and finding out an intuition |
| 2822 | # of exeext. | # of exeext. |
| 2823 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 2824 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
| 2825 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 2826 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | # |
| 2827 | (eval $ac_link_default) 2>&5 | # List of possible output files, starting from the most likely. |
| 2828 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
| 2829 | # only as a last resort. b.out is created by i960 compilers. | |
| 2830 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
| 2831 | # | |
| 2832 | # The IRIX 6 linker writes into existing files which may not be | |
| 2833 | # executable, retaining their permissions. Remove them first so a | |
| 2834 | # subsequent execution test works. | |
| 2835 | ac_rmfiles= | |
| 2836 | for ac_file in $ac_files | |
| 2837 | do | |
| 2838 | case $ac_file in | |
| 2839 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
| 2840 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 2841 | esac | |
| 2842 | done | |
| 2843 | rm -f $ac_rmfiles | |
| 2844 | ||
| 2845 | if { (ac_try="$ac_link_default" | |
| 2846 | case "(($ac_try" in | |
| 2847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2848 | *) ac_try_echo=$ac_try;; | |
| 2849 | esac | |
| 2850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2851 | (eval "$ac_link_default") 2>&5 | |
| 2852 | ac_status=$? | ac_status=$? |
| 2853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2854 | (exit $ac_status); }; then | (exit $ac_status); }; then |
| 2855 | # Find the output, starting from the most likely. This scheme is | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 2856 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 2857 | # resort. | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 2858 | # so that the user can short-circuit this test for compilers unknown to | |
| 2859 | # Be careful to initialize this variable, since it used to be cached. | # Autoconf. |
| 2860 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | for ac_file in $ac_files '' |
| ac_cv_exeext= | ||
| # b.out is created by i960 compilers. | ||
| for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
| 2861 | do | do |
| 2862 | test -f "$ac_file" || continue | test -f "$ac_file" || continue |
| 2863 | case $ac_file in | case $ac_file in |
| 2864 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| ;; | ||
| conftest.$ac_ext ) | ||
| # This is the source file. | ||
| 2865 | ;; | ;; |
| 2866 | [ab].out ) | [ab].out ) |
| 2867 | # We found the default executable, but exeext='' is most | # We found the default executable, but exeext='' is most |
| 2868 | # certainly right. | # certainly right. |
| 2869 | break;; | break;; |
| 2870 | *.* ) | *.* ) |
| 2871 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 2872 | # FIXME: I believe we export ac_cv_exeext for Libtool, | then :; else |
| 2873 | # but it would be cool to find out if it's true. Does anybody | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2874 | # maintain Libtool? --akim. | fi |
| 2875 | export ac_cv_exeext | # We set ac_cv_exeext here because the later test for it is not |
| 2876 | # safe: cross compilers may not add the suffix if given an `-o' | |
| 2877 | # argument, so we may need to know it at that point already. | |
| 2878 | # Even if this section looks crufty: it has the advantage of | |
| 2879 | # actually working. | |
| 2880 | break;; | break;; |
| 2881 | * ) | * ) |
| 2882 | break;; | break;; |
| 2883 | esac | esac |
| 2884 | done | done |
| 2885 | test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 2886 | ||
| 2887 | else | else |
| 2888 | ac_file='' | |
| 2889 | fi | |
| 2890 | ||
| 2891 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | |
| 2892 | echo "${ECHO_T}$ac_file" >&6; } | |
| 2893 | if test -z "$ac_file"; then | |
| 2894 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 2895 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 2896 | ||
| # | Line 1939 See \`config.log' for more details." >&2 | Line 2902 See \`config.log' for more details." >&2 |
| 2902 | fi | fi |
| 2903 | ||
| 2904 | ac_exeext=$ac_cv_exeext | ac_exeext=$ac_cv_exeext |
| echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
| echo "${ECHO_T}$ac_file" >&6 | ||
| 2905 | ||
| 2906 | # Check the compiler produces executables we can run. If not, either | # Check that the compiler produces executables we can run. If not, either |
| 2907 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
| 2908 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 2909 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
| 2910 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 2911 | # If not cross compiling, check that we can run a simple program. | # If not cross compiling, check that we can run a simple program. |
| 2912 | if test "$cross_compiling" != yes; then | if test "$cross_compiling" != yes; then |
| 2913 | if { ac_try='./$ac_file' | if { ac_try='./$ac_file' |
| 2914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | { (case "(($ac_try" in |
| 2915 | (eval $ac_try) 2>&5 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2916 | *) ac_try_echo=$ac_try;; | |
| 2917 | esac | |
| 2918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2919 | (eval "$ac_try") 2>&5 | |
| 2920 | ac_status=$? | ac_status=$? |
| 2921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2922 | (exit $ac_status); }; }; then | (exit $ac_status); }; }; then |
| # | Line 1970 See \`config.log' for more details." >&2 | Line 2935 See \`config.log' for more details." >&2 |
| 2935 | fi | fi |
| 2936 | fi | fi |
| 2937 | fi | fi |
| 2938 | echo "$as_me:$LINENO: result: yes" >&5 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 2939 | echo "${ECHO_T}yes" >&6 | echo "${ECHO_T}yes" >&6; } |
| 2940 | ||
| 2941 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2942 | ac_clean_files=$ac_clean_files_save | ac_clean_files=$ac_clean_files_save |
| 2943 | # Check the compiler produces executables we can run. If not, either | # Check that the compiler produces executables we can run. If not, either |
| 2944 | # the compiler is broken, or we cross compile. | # the compiler is broken, or we cross compile. |
| 2945 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2946 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 2947 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2948 | echo "${ECHO_T}$cross_compiling" >&6 | echo "${ECHO_T}$cross_compiling" >&6; } |
| 2949 | ||
| 2950 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2951 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 2952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | if { (ac_try="$ac_link" |
| 2953 | (eval $ac_link) 2>&5 | case "(($ac_try" in |
| 2954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2955 | *) ac_try_echo=$ac_try;; | |
| 2956 | esac | |
| 2957 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 2958 | (eval "$ac_link") 2>&5 | |
| 2959 | ac_status=$? | ac_status=$? |
| 2960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2961 | (exit $ac_status); }; then | (exit $ac_status); }; then |
| # | Line 1996 if { (eval echo "$as_me:$LINENO: \"$ac_l | Line 2966 if { (eval echo "$as_me:$LINENO: \"$ac_l |
| 2966 | for ac_file in conftest.exe conftest conftest.*; do | for ac_file in conftest.exe conftest conftest.*; do |
| 2967 | test -f "$ac_file" || continue | test -f "$ac_file" || continue |
| 2968 | case $ac_file in | case $ac_file in |
| 2969 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 2970 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| export ac_cv_exeext | ||
| 2971 | break;; | break;; |
| 2972 | * ) break;; | * ) break;; |
| 2973 | esac | esac |
| # | Line 2012 See \`config.log' for more details." >&2 | Line 2981 See \`config.log' for more details." >&2 |
| 2981 | fi | fi |
| 2982 | ||
| 2983 | rm -f conftest$ac_cv_exeext | rm -f conftest$ac_cv_exeext |
| 2984 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2985 | echo "${ECHO_T}$ac_cv_exeext" >&6 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 2986 | ||
| 2987 | rm -f conftest.$ac_ext | rm -f conftest.$ac_ext |
| 2988 | EXEEXT=$ac_cv_exeext | EXEEXT=$ac_cv_exeext |
| 2989 | ac_exeext=$EXEEXT | ac_exeext=$EXEEXT |
| 2990 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2991 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 2992 | if test "${ac_cv_objext+set}" = set; then | if test "${ac_cv_objext+set}" = set; then |
| 2993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2994 | else | else |
| # | Line 2039 main () | Line 3008 main () |
| 3008 | } | } |
| 3009 | _ACEOF | _ACEOF |
| 3010 | rm -f conftest.o conftest.obj | rm -f conftest.o conftest.obj |
| 3011 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3012 | (eval $ac_compile) 2>&5 | case "(($ac_try" in |
| 3013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3014 | *) ac_try_echo=$ac_try;; | |
| 3015 | esac | |
| 3016 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3017 | (eval "$ac_compile") 2>&5 | |
| 3018 | ac_status=$? | ac_status=$? |
| 3019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3020 | (exit $ac_status); }; then | (exit $ac_status); }; then |
| 3021 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3022 | test -f "$ac_file" || continue; | |
| 3023 | case $ac_file in | case $ac_file in |
| 3024 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 3025 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3026 | break;; | break;; |
| 3027 | esac | esac |
| # | Line 2064 fi | Line 3039 fi |
| 3039 | ||
| 3040 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3041 | fi | fi |
| 3042 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3043 | echo "${ECHO_T}$ac_cv_objext" >&6 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 3044 | OBJEXT=$ac_cv_objext | OBJEXT=$ac_cv_objext |
| 3045 | ac_objext=$OBJEXT | ac_objext=$OBJEXT |
| 3046 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3047 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
| 3048 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3049 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3050 | else | else |
| # | Line 2092 main () | Line 3067 main () |
| 3067 | } | } |
| 3068 | _ACEOF | _ACEOF |
| 3069 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3070 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3071 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3072 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3073 | *) ac_try_echo=$ac_try;; | |
| 3074 | esac | |
| 3075 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3076 | (eval "$ac_compile") 2>conftest.er1 | |
| 3077 | ac_status=$? | ac_status=$? |
| 3078 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3079 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3080 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3082 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3083 | { ac_try='test -z "$ac_c_werror_flag" | test -z "$ac_c_werror_flag" || |
| 3084 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| 3086 | ac_compiler_gnu=yes | ac_compiler_gnu=yes |
| 3087 | else | else |
| 3088 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3089 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3090 | ||
| 3091 | ac_compiler_gnu=no | ac_compiler_gnu=no |
| 3092 | fi | fi |
| 3093 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3095 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3096 | ||
| 3097 | fi | fi |
| 3098 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 3099 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
| 3100 | GCC=`test $ac_compiler_gnu = yes && echo yes` | GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 3101 | ac_test_CFLAGS=${CFLAGS+set} | ac_test_CFLAGS=${CFLAGS+set} |
| 3102 | ac_save_CFLAGS=$CFLAGS | ac_save_CFLAGS=$CFLAGS |
| 3103 | CFLAGS="-g" | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 3104 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
| echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
| 3105 | if test "${ac_cv_prog_cc_g+set}" = set; then | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 3106 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3107 | else | else |
| 3108 | cat >conftest.$ac_ext <<_ACEOF | ac_save_c_werror_flag=$ac_c_werror_flag |
| 3109 | ac_c_werror_flag=yes | |
| 3110 | ac_cv_prog_cc_g=no | |
| 3111 | CFLAGS="-g" | |
| 3112 | cat >conftest.$ac_ext <<_ACEOF | |
| 3113 | /* confdefs.h. */ | /* confdefs.h. */ |
| 3114 | _ACEOF | _ACEOF |
| 3115 | cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| # | Line 2151 main () | Line 3125 main () |
| 3125 | } | } |
| 3126 | _ACEOF | _ACEOF |
| 3127 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3128 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3129 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3131 | *) ac_try_echo=$ac_try;; | |
| 3132 | esac | |
| 3133 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3134 | (eval "$ac_compile") 2>conftest.er1 | |
| 3135 | ac_status=$? | ac_status=$? |
| 3136 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3137 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3138 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3140 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3141 | { ac_try='test -z "$ac_c_werror_flag" | test -z "$ac_c_werror_flag" || |
| 3142 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| 3144 | (eval $ac_try) 2>&5 | ac_cv_prog_cc_g=yes |
| 3145 | else | |
| 3146 | echo "$as_me: failed program was:" >&5 | |
| 3147 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3148 | ||
| 3149 | CFLAGS="" | |
| 3150 | cat >conftest.$ac_ext <<_ACEOF | |
| 3151 | /* confdefs.h. */ | |
| 3152 | _ACEOF | |
| 3153 | cat confdefs.h >>conftest.$ac_ext | |
| 3154 | cat >>conftest.$ac_ext <<_ACEOF | |
| 3155 | /* end confdefs.h. */ | |
| 3156 | ||
| 3157 | int | |
| 3158 | main () | |
| 3159 | { | |
| 3160 | ||
| 3161 | ; | |
| 3162 | return 0; | |
| 3163 | } | |
| 3164 | _ACEOF | |
| 3165 | rm -f conftest.$ac_objext | |
| 3166 | if { (ac_try="$ac_compile" | |
| 3167 | case "(($ac_try" in | |
| 3168 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3169 | *) ac_try_echo=$ac_try;; | |
| 3170 | esac | |
| 3171 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3172 | (eval "$ac_compile") 2>conftest.er1 | |
| 3173 | ac_status=$? | ac_status=$? |
| 3174 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 3175 | rm -f conftest.er1 | |
| 3176 | cat conftest.err >&5 | |
| 3177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3178 | (exit $ac_status); }; } && | (exit $ac_status); } && { |
| 3179 | { ac_try='test -s conftest.$ac_objext' | test -z "$ac_c_werror_flag" || |
| 3180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | test ! -s conftest.err |
| 3181 | (eval $ac_try) 2>&5 | } && test -s conftest.$ac_objext; then |
| 3182 | : | |
| 3183 | else | |
| 3184 | echo "$as_me: failed program was:" >&5 | |
| 3185 | sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3186 | ||
| 3187 | ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3188 | CFLAGS="-g" | |
| 3189 | cat >conftest.$ac_ext <<_ACEOF | |
| 3190 | /* confdefs.h. */ | |
| 3191 | _ACEOF | |
| 3192 | cat confdefs.h >>conftest.$ac_ext | |
| 3193 | cat >>conftest.$ac_ext <<_ACEOF | |
| 3194 | /* end confdefs.h. */ | |
| 3195 | ||
| 3196 | int | |
| 3197 | main () | |
| 3198 | { | |
| 3199 | ||
| 3200 | ; | |
| 3201 | return 0; | |
| 3202 | } | |
| 3203 | _ACEOF | |
| 3204 | rm -f conftest.$ac_objext | |
| 3205 | if { (ac_try="$ac_compile" | |
| 3206 | case "(($ac_try" in | |
| 3207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3208 | *) ac_try_echo=$ac_try;; | |
| 3209 | esac | |
| 3210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3211 | (eval "$ac_compile") 2>conftest.er1 | |
| 3212 | ac_status=$? | ac_status=$? |
| 3213 | grep -v '^ *+' conftest.er1 >conftest.err | |
| 3214 | rm -f conftest.er1 | |
| 3215 | cat conftest.err >&5 | |
| 3216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3217 | (exit $ac_status); }; }; then | (exit $ac_status); } && { |
| 3218 | test -z "$ac_c_werror_flag" || | |
| 3219 | test ! -s conftest.err | |
| 3220 | } && test -s conftest.$ac_objext; then | |
| 3221 | ac_cv_prog_cc_g=yes | ac_cv_prog_cc_g=yes |
| 3222 | else | else |
| 3223 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3224 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3225 | ||
| 3226 | ac_cv_prog_cc_g=no | |
| 3227 | fi | |
| 3228 | ||
| 3229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3230 | fi | fi |
| 3231 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3232 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3233 | fi | |
| 3234 | ||
| 3235 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3236 | ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3237 | fi | fi |
| 3238 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 3239 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
| 3240 | if test "$ac_test_CFLAGS" = set; then | if test "$ac_test_CFLAGS" = set; then |
| 3241 | CFLAGS=$ac_save_CFLAGS | CFLAGS=$ac_save_CFLAGS |
| 3242 | elif test $ac_cv_prog_cc_g = yes; then | elif test $ac_cv_prog_cc_g = yes; then |
| # | Line 2198 else | Line 3252 else |
| 3252 | CFLAGS= | CFLAGS= |
| 3253 | fi | fi |
| 3254 | fi | fi |
| 3255 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 3256 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 3257 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 3258 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3259 | else | else |
| 3260 | ac_cv_prog_cc_stdc=no | ac_cv_prog_cc_c89=no |
| 3261 | ac_save_CC=$CC | ac_save_CC=$CC |
| 3262 | cat >conftest.$ac_ext <<_ACEOF | cat >conftest.$ac_ext <<_ACEOF |
| 3263 | /* confdefs.h. */ | /* confdefs.h. */ |
| # | Line 2237 static char *f (char * (*g) (char **, in | Line 3291 static char *f (char * (*g) (char **, in |
| 3291 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3292 | function prototypes and stuff, but not '\xHH' hex character constants. | function prototypes and stuff, but not '\xHH' hex character constants. |
| 3293 | These don't provoke an error unfortunately, instead are silently treated | These don't provoke an error unfortunately, instead are silently treated |
| 3294 | as 'x'. The following induces an error, until -std1 is added to get | as 'x'. The following induces an error, until -std is added to get |
| 3295 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3296 | array size at least. It's necessary to write '\x00'==0 to get something | array size at least. It's necessary to write '\x00'==0 to get something |
| 3297 | that's true only with -std1. */ | that's true only with -std. */ |
| 3298 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3299 | ||
| 3300 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3301 | inside strings and character constants. */ | |
| 3302 | #define FOO(x) 'x' | |
| 3303 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3304 | ||
| 3305 | int test (int i, double x); | int test (int i, double x); |
| 3306 | struct s1 {int (*f) (int a);}; | struct s1 {int (*f) (int a);}; |
| 3307 | struct s2 {int (*f) (double a);}; | struct s2 {int (*f) (double a);}; |
| # | Line 2257 return f (e, argv, 0) != argv[0] || f | Line 3316 return f (e, argv, 0) != argv[0] || f |
| 3316 | return 0; | return 0; |
| 3317 | } | } |
| 3318 | _ACEOF | _ACEOF |
| 3319 | # Don't try gcc -ansi; that turns off useful extensions and | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3320 | # breaks some systems' header files. | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| # AIX -qlanglvl=ansi | ||
| # Ultrix and OSF/1 -std1 | ||
| # HP-UX 10.20 and later -Ae | ||
| # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
| # SVR4 -Xc -D__EXTENSIONS__ | ||
| for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 3321 | do | do |
| 3322 | CC="$ac_save_CC $ac_arg" | CC="$ac_save_CC $ac_arg" |
| 3323 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3324 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3325 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3327 | *) ac_try_echo=$ac_try;; | |
| 3328 | esac | |
| 3329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3330 | (eval "$ac_compile") 2>conftest.er1 | |
| 3331 | ac_status=$? | ac_status=$? |
| 3332 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3333 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3334 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3336 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3337 | { ac_try='test -z "$ac_c_werror_flag" | test -z "$ac_c_werror_flag" || |
| 3338 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| 3340 | (eval $ac_try) 2>&5 | ac_cv_prog_cc_c89=$ac_arg |
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| ac_cv_prog_cc_stdc=$ac_arg | ||
| break | ||
| 3341 | else | else |
| 3342 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3343 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3344 | ||
| 3345 | ||
| 3346 | fi | fi |
| 3347 | rm -f conftest.err conftest.$ac_objext | |
| 3348 | rm -f core conftest.err conftest.$ac_objext | |
| 3349 | test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3350 | done | done |
| 3351 | rm -f conftest.$ac_ext conftest.$ac_objext | rm -f conftest.$ac_ext |
| 3352 | CC=$ac_save_CC | CC=$ac_save_CC |
| 3353 | ||
| 3354 | fi | fi |
| 3355 | # AC_CACHE_VAL | |
| 3356 | case "x$ac_cv_prog_cc_stdc" in | case "x$ac_cv_prog_cc_c89" in |
| 3357 | x|xno) | x) |
| 3358 | echo "$as_me:$LINENO: result: none needed" >&5 | { echo "$as_me:$LINENO: result: none needed" >&5 |
| 3359 | echo "${ECHO_T}none needed" >&6 ;; | echo "${ECHO_T}none needed" >&6; } ;; |
| 3360 | xno) | |
| 3361 | { echo "$as_me:$LINENO: result: unsupported" >&5 | |
| 3362 | echo "${ECHO_T}unsupported" >&6; } ;; | |
| 3363 | *) | *) |
| 3364 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | CC="$CC $ac_cv_prog_cc_c89" |
| 3365 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 3366 | CC="$CC $ac_cv_prog_cc_stdc" ;; | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 3367 | esac | esac |
| 3368 | ||
| # Some people use a C++ compiler to compile C. Since we use `exit', | ||
| # in C++ we need to declare it. In case someone uses the same compiler | ||
| # for both compiling C and C++ we need to have the C++ compiler decide | ||
| # the declaration of exit, since it's the most demanding environment. | ||
| cat >conftest.$ac_ext <<_ACEOF | ||
| #ifndef __cplusplus | ||
| choke me | ||
| #endif | ||
| _ACEOF | ||
| rm -f conftest.$ac_objext | ||
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| (eval $ac_compile) 2>conftest.er1 | ||
| ac_status=$? | ||
| grep -v '^ *+' conftest.er1 >conftest.err | ||
| rm -f conftest.er1 | ||
| cat conftest.err >&5 | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); } && | ||
| { ac_try='test -z "$ac_c_werror_flag" | ||
| || test ! -s conftest.err' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| for ac_declaration in \ | ||
| '' \ | ||
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
| 'extern "C" void std::exit (int); using std::exit;' \ | ||
| 'extern "C" void exit (int) throw ();' \ | ||
| 'extern "C" void exit (int);' \ | ||
| 'void exit (int);' | ||
| do | ||
| cat >conftest.$ac_ext <<_ACEOF | ||
| /* confdefs.h. */ | ||
| _ACEOF | ||
| cat confdefs.h >>conftest.$ac_ext | ||
| cat >>conftest.$ac_ext <<_ACEOF | ||
| /* end confdefs.h. */ | ||
| $ac_declaration | ||
| #include <stdlib.h> | ||
| int | ||
| main () | ||
| { | ||
| exit (42); | ||
| ; | ||
| return 0; | ||
| } | ||
| _ACEOF | ||
| rm -f conftest.$ac_objext | ||
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| (eval $ac_compile) 2>conftest.er1 | ||
| ac_status=$? | ||
| grep -v '^ *+' conftest.er1 >conftest.err | ||
| rm -f conftest.er1 | ||
| cat conftest.err >&5 | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); } && | ||
| { ac_try='test -z "$ac_c_werror_flag" | ||
| || test ! -s conftest.err' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| : | ||
| else | ||
| echo "$as_me: failed program was:" >&5 | ||
| sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3369 | ||
| 3370 | continue | ac_ext=c |
| 3371 | fi | ac_cpp='$CPP $CPPFLAGS' |
| 3372 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3373 | cat >conftest.$ac_ext <<_ACEOF | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3374 | /* confdefs.h. */ | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3375 | _ACEOF | DEPDIR="${am__leading_dot}deps" |
| 3376 | cat confdefs.h >>conftest.$ac_ext | |
| 3377 | cat >>conftest.$ac_ext <<_ACEOF | ac_config_commands="$ac_config_commands depfiles" |
| /* end confdefs.h. */ | ||
| $ac_declaration | ||
| int | ||
| main () | ||
| { | ||
| exit (42); | ||
| ; | ||
| return 0; | ||
| } | ||
| _ACEOF | ||
| rm -f conftest.$ac_objext | ||
| if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| (eval $ac_compile) 2>conftest.er1 | ||
| ac_status=$? | ||
| grep -v '^ *+' conftest.er1 >conftest.err | ||
| rm -f conftest.er1 | ||
| cat conftest.err >&5 | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); } && | ||
| { ac_try='test -z "$ac_c_werror_flag" | ||
| || test ! -s conftest.err' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| break | ||
| else | ||
| echo "$as_me: failed program was:" >&5 | ||
| sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3378 | ||
| 3379 | ||
| 3380 | am_make=${MAKE-make} | |
| 3381 | cat > confinc << 'END' | |
| 3382 | am__doit: | |
| 3383 | @echo done | |
| 3384 | .PHONY: am__doit | |
| 3385 | END | |
| 3386 | # If we don't find an include directive, just comment out the code. | |
| 3387 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 | |
| 3388 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } | |
| 3389 | am__include="#" | |
| 3390 | am__quote= | |
| 3391 | _am_result=none | |
| 3392 | # First try GNU make style include. | |
| 3393 | echo "include confinc" > confmf | |
| 3394 | # We grep out `Entering directory' and `Leaving directory' | |
| 3395 | # messages which can occur if `w' ends up in MAKEFLAGS. | |
| 3396 | # In particular we don't look at `^make:' because GNU make might | |
| 3397 | # be invoked under some other name (usually "gmake"), in which | |
| 3398 | # case it prints its new name instead of `make'. | |
| 3399 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then | |
| 3400 | am__include=include | |
| 3401 | am__quote= | |
| 3402 | _am_result=GNU | |
| 3403 | fi | |
| 3404 | # Now try BSD make style include. | |
| 3405 | if test "$am__include" = "#"; then | |
| 3406 | echo '.include "confinc"' > confmf | |
| 3407 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then | |
| 3408 | am__include=.include | |
| 3409 | am__quote="\"" | |
| 3410 | _am_result=BSD | |
| 3411 | fi | |
| 3412 | fi | fi |
| 3413 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3414 | done | |
| 3415 | rm -f conftest* | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
| 3416 | if test -n "$ac_declaration"; then | echo "${ECHO_T}$_am_result" >&6; } |
| 3417 | echo '#ifdef __cplusplus' >>confdefs.h | rm -f confinc confmf |
| 3418 | echo $ac_declaration >>confdefs.h | |
| 3419 | echo '#endif' >>confdefs.h | # Check whether --enable-dependency-tracking was given. |
| 3420 | if test "${enable_dependency_tracking+set}" = set; then | |
| 3421 | enableval=$enable_dependency_tracking; | |
| 3422 | fi | |
| 3423 | ||
| 3424 | if test "x$enable_dependency_tracking" != xno; then | |
| 3425 | am_depcomp="$ac_aux_dir/depcomp" | |
| 3426 | AMDEPBACKSLASH='\' | |
| 3427 | fi | |
| 3428 | if test "x$enable_dependency_tracking" != xno; then | |
| 3429 | AMDEP_TRUE= | |
| 3430 | AMDEP_FALSE='#' | |
| 3431 | else | |
| 3432 | AMDEP_TRUE='#' | |
| 3433 | AMDEP_FALSE= | |
| 3434 | fi | fi |
| 3435 | ||
| 3436 | ||
| 3437 | ||
| 3438 | depcc="$CC" am_compiler_list= | |
| 3439 | ||
| 3440 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 | |
| 3441 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } | |
| 3442 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then | |
| 3443 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
| 3444 | else | |
| 3445 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 3446 | # We make a subdir and do the tests there. Otherwise we can end up | |
| 3447 | # making bogus files that we don't know about and never remove. For | |
| 3448 | # instance it was reported that on HP-UX the gcc test will end up | |
| 3449 | # making a dummy file named `D' -- because `-MD' means `put the output | |
| 3450 | # in D'. | |
| 3451 | mkdir conftest.dir | |
| 3452 | # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 3453 | # using a relative directory. | |
| 3454 | cp "$am_depcomp" conftest.dir | |
| 3455 | cd conftest.dir | |
| 3456 | # We will build objects and dependencies in a subdirectory because | |
| 3457 | # it helps to detect inapplicable dependency modes. For instance | |
| 3458 | # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 3459 | # side effect of compilation, but ICC will put the dependencies in | |
| 3460 | # the current directory while Tru64 will put them in the object | |
| 3461 | # directory. | |
| 3462 | mkdir sub | |
| 3463 | ||
| 3464 | am_cv_CC_dependencies_compiler_type=none | |
| 3465 | if test "$am_compiler_list" = ""; then | |
| 3466 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
| 3467 | fi | |
| 3468 | for depmode in $am_compiler_list; do | |
| 3469 | # Setup a source with many dependencies, because some compilers | |
| 3470 | # like to wrap large dependency lists on column 80 (with \), and | |
| 3471 | # we should not choose a depcomp mode which is confused by this. | |
| 3472 | # | |
| 3473 | # We need to recreate these files for each test, as the compiler may | |
| 3474 | # overwrite some of them when testing with obscure command lines. | |
| 3475 | # This happens at least with the AIX C compiler. | |
| 3476 | : > sub/conftest.c | |
| 3477 | for i in 1 2 3 4 5 6; do | |
| 3478 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 3479 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
| 3480 | # Solaris 8's {/usr,}/bin/sh. | |
| 3481 | touch sub/conftst$i.h | |
| 3482 | done | |
| 3483 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 3484 | ||
| 3485 | case $depmode in | |
| 3486 | nosideeffect) | |
| 3487 | # after this tag, mechanisms are not by side-effect, so they'll | |
| 3488 | # only be used when explicitly requested | |
| 3489 | if test "x$enable_dependency_tracking" = xyes; then | |
| 3490 | continue | |
| 3491 | else | |
| 3492 | break | |
| 3493 | fi | |
| 3494 | ;; | |
| 3495 | none) break ;; | |
| 3496 | esac | |
| 3497 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
| 3498 | # mode. It turns out that the SunPro C++ compiler does not properly | |
| 3499 | # handle `-M -o', and we need to detect this. | |
| 3500 | if depmode=$depmode \ | |
| 3501 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ | |
| 3502 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 3503 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ | |
| 3504 | >/dev/null 2>conftest.err && | |
| 3505 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3506 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3507 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && | |
| 3508 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 3509 | # icc doesn't choke on unknown options, it will just issue warnings | |
| 3510 | # or remarks (even with -Werror). So we grep stderr for any message | |
| 3511 | # that says an option was ignored or not supported. | |
| 3512 | # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 3513 | # icc: Command line warning: ignoring option '-M'; no argument required | |
| 3514 | # The diagnosis changed in icc 8.0: | |
| 3515 | # icc: Command line remark: option '-MP' not supported | |
| 3516 | if (grep 'ignoring option' conftest.err || | |
| 3517 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 3518 | am_cv_CC_dependencies_compiler_type=$depmode | |
| 3519 | break | |
| 3520 | fi | |
| 3521 | fi | |
| 3522 | done | |
| 3523 | ||
| 3524 | cd .. | |
| 3525 | rm -rf conftest.dir | |
| 3526 | else | else |
| 3527 | echo "$as_me: failed program was:" >&5 | am_cv_CC_dependencies_compiler_type=none |
| 3528 | sed 's/^/| /' conftest.$ac_ext >&5 | fi |
| 3529 | ||
| 3530 | fi | fi |
| 3531 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3532 | ac_ext=c | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
| 3533 | ac_cpp='$CPP $CPPFLAGS' | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 3534 | ||
| 3535 | if | |
| 3536 | test "x$enable_dependency_tracking" != xno \ | |
| 3537 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
| 3538 | am__fastdepCC_TRUE= | |
| 3539 | am__fastdepCC_FALSE='#' | |
| 3540 | else | |
| 3541 | am__fastdepCC_TRUE='#' | |
| 3542 | am__fastdepCC_FALSE= | |
| 3543 | fi | |
| 3544 | ||
| 3545 | ||
| 3546 | ac_ext=cc | ac_ext=cpp |
| 3547 | ac_cpp='$CXXCPP $CPPFLAGS' | ac_cpp='$CXXCPP $CPPFLAGS' |
| 3548 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3549 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3550 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 3551 | if test -n "$ac_tool_prefix"; then | if test -z "$CXX"; then |
| 3552 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | if test -n "$CCC"; then |
| 3553 | CXX=$CCC | |
| 3554 | else | |
| 3555 | if test -n "$ac_tool_prefix"; then | |
| 3556 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 3557 | do | do |
| 3558 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3559 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 3560 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3561 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3562 | if test "${ac_cv_prog_CXX+set}" = set; then | if test "${ac_cv_prog_CXX+set}" = set; then |
| 3563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3564 | else | else |
| # | Line 2488 do | Line 3571 do |
| 3571 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 3572 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 3573 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3574 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3575 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
| 3576 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3577 | break 2 | break 2 |
| 3578 | fi | fi |
| 3579 | done | done |
| 3580 | done | done |
| 3581 | IFS=$as_save_IFS | |
| 3582 | ||
| 3583 | fi | fi |
| 3584 | fi | fi |
| 3585 | CXX=$ac_cv_prog_CXX | CXX=$ac_cv_prog_CXX |
| 3586 | if test -n "$CXX"; then | if test -n "$CXX"; then |
| 3587 | echo "$as_me:$LINENO: result: $CXX" >&5 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
| 3588 | echo "${ECHO_T}$CXX" >&6 | echo "${ECHO_T}$CXX" >&6; } |
| 3589 | else | else |
| 3590 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3591 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 3592 | fi | fi |
| 3593 | ||
| 3594 | ||
| 3595 | test -n "$CXX" && break | test -n "$CXX" && break |
| 3596 | done | done |
| 3597 | fi | fi |
| 3598 | if test -z "$CXX"; then | if test -z "$CXX"; then |
| 3599 | ac_ct_CXX=$CXX | ac_ct_CXX=$CXX |
| 3600 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
| 3601 | do | do |
| 3602 | # Extract the first word of "$ac_prog", so it can be a program name with args. | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3603 | set dummy $ac_prog; ac_word=$2 | set dummy $ac_prog; ac_word=$2 |
| 3604 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 3605 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 3606 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
| 3607 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3608 | else | else |
| # | Line 2530 do | Line 3615 do |
| 3615 | IFS=$as_save_IFS | IFS=$as_save_IFS |
| 3616 | test -z "$as_dir" && as_dir=. | test -z "$as_dir" && as_dir=. |
| 3617 | for ac_exec_ext in '' $ac_executable_extensions; do | for ac_exec_ext in '' $ac_executable_extensions; do |
| 3618 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3619 | ac_cv_prog_ac_ct_CXX="$ac_prog" | ac_cv_prog_ac_ct_CXX="$ac_prog" |
| 3620 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3621 | break 2 | break 2 |
| 3622 | fi | fi |
| 3623 | done | done |
| 3624 | done | done |
| 3625 | IFS=$as_save_IFS | |
| 3626 | ||
| 3627 | fi | fi |
| 3628 | fi | fi |
| 3629 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
| 3630 | if test -n "$ac_ct_CXX"; then | if test -n "$ac_ct_CXX"; then |
| 3631 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
| 3632 | echo "${ECHO_T}$ac_ct_CXX" >&6 | echo "${ECHO_T}$ac_ct_CXX" >&6; } |
| 3633 | else | else |
| 3634 | echo "$as_me:$LINENO: result: no" >&5 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3635 | echo "${ECHO_T}no" >&6 | echo "${ECHO_T}no" >&6; } |
| 3636 | fi | fi |
| 3637 | ||
| 3638 | ||
| 3639 | test -n "$ac_ct_CXX" && break | test -n "$ac_ct_CXX" && break |
| 3640 | done | done |
| test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | ||
| 3641 | ||
| 3642 | CXX=$ac_ct_CXX | if test "x$ac_ct_CXX" = x; then |
| 3643 | CXX="g++" | |
| 3644 | else | |
| 3645 | case $cross_compiling:$ac_tool_warned in | |
| 3646 | yes:) | |
| 3647 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
| 3648 | whose name does not start with the host triplet. If you think this | |
| 3649 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
| 3650 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
| 3651 | whose name does not start with the host triplet. If you think this | |
| 3652 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
| 3653 | ac_tool_warned=yes ;; | |
| 3654 | esac | |
| 3655 | CXX=$ac_ct_CXX | |
| 3656 | fi | |
| 3657 | fi | fi |
| 3658 | ||
| 3659 | fi | |
| 3660 | fi | |
| 3661 | # Provide some information about the compiler. | # Provide some information about the compiler. |
| 3662 | echo "$as_me:$LINENO:" \ | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
| "checking for C++ compiler version" >&5 | ||
| 3663 | ac_compiler=`set X $ac_compile; echo $2` | ac_compiler=`set X $ac_compile; echo $2` |
| 3664 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler --version >&5" |
| 3665 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 3666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3667 | *) ac_try_echo=$ac_try;; | |
| 3668 | esac | |
| 3669 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3670 | (eval "$ac_compiler --version >&5") 2>&5 | |
| 3671 | ac_status=$? | ac_status=$? |
| 3672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3673 | (exit $ac_status); } | (exit $ac_status); } |
| 3674 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler -v >&5" |
| 3675 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 3676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3677 | *) ac_try_echo=$ac_try;; | |
| 3678 | esac | |
| 3679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3680 | (eval "$ac_compiler -v >&5") 2>&5 | |
| 3681 | ac_status=$? | ac_status=$? |
| 3682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3683 | (exit $ac_status); } | (exit $ac_status); } |
| 3684 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | { (ac_try="$ac_compiler -V >&5" |
| 3685 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | case "(($ac_try" in |
| 3686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3687 | *) ac_try_echo=$ac_try;; | |
| 3688 | esac | |
| 3689 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3690 | (eval "$ac_compiler -V >&5") 2>&5 | |
| 3691 | ac_status=$? | ac_status=$? |
| 3692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3693 | (exit $ac_status); } | (exit $ac_status); } |
| 3694 | ||
| 3695 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3696 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
| 3697 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3698 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3699 | else | else |
| # | Line 2601 main () | Line 3716 main () |
| 3716 | } | } |
| 3717 | _ACEOF | _ACEOF |
| 3718 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3719 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3720 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3721 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3722 | *) ac_try_echo=$ac_try;; | |
| 3723 | esac | |
| 3724 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3725 | (eval "$ac_compile") 2>conftest.er1 | |
| 3726 | ac_status=$? | ac_status=$? |
| 3727 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3728 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3729 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3731 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3732 | { ac_try='test -z "$ac_cxx_werror_flag" | test -z "$ac_cxx_werror_flag" || |
| 3733 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| 3735 | ac_compiler_gnu=yes | ac_compiler_gnu=yes |
| 3736 | else | else |
| 3737 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3738 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3739 | ||
| 3740 | ac_compiler_gnu=no | ac_compiler_gnu=no |
| 3741 | fi | fi |
| 3742 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3743 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3744 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
| 3745 | ||
| 3746 | fi | fi |
| 3747 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
| 3748 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
| 3749 | GXX=`test $ac_compiler_gnu = yes && echo yes` | GXX=`test $ac_compiler_gnu = yes && echo yes` |
| 3750 | ac_test_CXXFLAGS=${CXXFLAGS+set} | ac_test_CXXFLAGS=${CXXFLAGS+set} |
| 3751 | ac_save_CXXFLAGS=$CXXFLAGS | ac_save_CXXFLAGS=$CXXFLAGS |
| 3752 | CXXFLAGS="-g" | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
| 3753 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
| echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | ||
| 3754 | if test "${ac_cv_prog_cxx_g+set}" = set; then | if test "${ac_cv_prog_cxx_g+set}" = set; then |
| 3755 | echo $ECHO_N "(cached) $ECHO_C" >&6 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3756 | else | else |
| 3757 | cat >conftest.$ac_ext <<_ACEOF | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 3758 | ac_cxx_werror_flag=yes | |
| 3759 | ac_cv_prog_cxx_g=no | |
| 3760 | CXXFLAGS="-g" | |
| 3761 | cat >conftest.$ac_ext <<_ACEOF | |
| 3762 | /* confdefs.h. */ | /* confdefs.h. */ |
| 3763 | _ACEOF | _ACEOF |
| 3764 | cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| # | Line 2660 main () | Line 3774 main () |
| 3774 | } | } |
| 3775 | _ACEOF | _ACEOF |
| 3776 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3777 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3778 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3779 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3780 | *) ac_try_echo=$ac_try;; | |
| 3781 | esac | |
| 3782 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3783 | (eval "$ac_compile") 2>conftest.er1 | |
| 3784 | ac_status=$? | ac_status=$? |
| 3785 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3786 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3787 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3789 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3790 | { ac_try='test -z "$ac_cxx_werror_flag" | test -z "$ac_cxx_werror_flag" || |
| 3791 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| 3793 | ac_cv_prog_cxx_g=yes | ac_cv_prog_cxx_g=yes |
| 3794 | else | else |
| 3795 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3796 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3797 | ||
| 3798 | ac_cv_prog_cxx_g=no | CXXFLAGS="" |
| 3799 | fi | cat >conftest.$ac_ext <<_ACEOF |
| rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| fi | ||
| echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | ||
| echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | ||
| if test "$ac_test_CXXFLAGS" = set; then | ||
| CXXFLAGS=$ac_save_CXXFLAGS | ||
| elif test $ac_cv_prog_cxx_g = yes; then | ||
| if test "$GXX" = yes; then | ||
| CXXFLAGS="-g -O2" | ||
| else | ||
| CXXFLAGS="-g" | ||
| fi | ||
| else | ||
| if test "$GXX" = yes; then | ||
| CXXFLAGS="-O2" | ||
| else | ||
| CXXFLAGS= | ||
| fi | ||
| fi | ||
| for ac_declaration in \ | ||
| '' \ | ||
| 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
| 'extern "C" void std::exit (int); using std::exit;' \ | ||
| 'extern "C" void exit (int) throw ();' \ | ||
| 'extern "C" void exit (int);' \ | ||
| 'void exit (int);' | ||
| do | ||
| cat >conftest.$ac_ext <<_ACEOF | ||
| 3800 | /* confdefs.h. */ | /* confdefs.h. */ |
| 3801 | _ACEOF | _ACEOF |
| 3802 | cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| 3803 | cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| 3804 | /* end confdefs.h. */ | /* end confdefs.h. */ |
| 3805 | $ac_declaration | |
| #include <stdlib.h> | ||
| 3806 | int | int |
| 3807 | main () | main () |
| 3808 | { | { |
| 3809 | exit (42); | |
| 3810 | ; | ; |
| 3811 | return 0; | return 0; |
| 3812 | } | } |
| 3813 | _ACEOF | _ACEOF |
| 3814 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3815 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3816 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3818 | *) ac_try_echo=$ac_try;; | |
| 3819 | esac | |
| 3820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3821 | (eval "$ac_compile") 2>conftest.er1 | |
| 3822 | ac_status=$? | ac_status=$? |
| 3823 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3824 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3825 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3827 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3828 | { ac_try='test -z "$ac_cxx_werror_flag" | test -z "$ac_cxx_werror_flag" || |
| 3829 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| 3831 | : | : |
| 3832 | else | else |
| 3833 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3834 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3835 | ||
| 3836 | continue | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 3837 | fi | CXXFLAGS="-g" |
| 3838 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | cat >conftest.$ac_ext <<_ACEOF |
| cat >conftest.$ac_ext <<_ACEOF | ||
| 3839 | /* confdefs.h. */ | /* confdefs.h. */ |
| 3840 | _ACEOF | _ACEOF |
| 3841 | cat confdefs.h >>conftest.$ac_ext | cat confdefs.h >>conftest.$ac_ext |
| 3842 | cat >>conftest.$ac_ext <<_ACEOF | cat >>conftest.$ac_ext <<_ACEOF |
| 3843 | /* end confdefs.h. */ | /* end confdefs.h. */ |
| 3844 | $ac_declaration | |
| 3845 | int | int |
| 3846 | main () | main () |
| 3847 | { | { |
| 3848 | exit (42); | |
| 3849 | ; | ; |
| 3850 | return 0; | return 0; |
| 3851 | } | } |
| 3852 | _ACEOF | _ACEOF |
| 3853 | rm -f conftest.$ac_objext | rm -f conftest.$ac_objext |
| 3854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | if { (ac_try="$ac_compile" |
| 3855 | (eval $ac_compile) 2>conftest.er1 | case "(($ac_try" in |
| 3856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3857 | *) ac_try_echo=$ac_try;; | |
| 3858 | esac | |
| 3859 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
| 3860 | (eval "$ac_compile") 2>conftest.er1 | |
| 3861 | ac_status=$? | ac_status=$? |
| 3862 | grep -v '^ *+' conftest.er1 >conftest.err | grep -v '^ *+' conftest.er1 >conftest.err |
| 3863 | rm -f conftest.er1 | rm -f conftest.er1 |
| 3864 | cat conftest.err >&5 | cat conftest.err >&5 |
| 3865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3866 | (exit $ac_status); } && | (exit $ac_status); } && { |
| 3867 | { ac_try='test -z "$ac_cxx_werror_flag" | test -z "$ac_cxx_werror_flag" || |
| 3868 | || test ! -s conftest.err' | test ! -s conftest.err |
| 3869 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | } && test -s conftest.$ac_objext; then |
| 3870 | (eval $ac_try) 2>&5 | ac_cv_prog_cxx_g=yes |
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; } && | ||
| { ac_try='test -s conftest.$ac_objext' | ||
| { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| (eval $ac_try) 2>&5 | ||
| ac_status=$? | ||
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| (exit $ac_status); }; }; then | ||
| break | ||
| 3871 | else | else |
| 3872 | echo "$as_me: failed program was:" >&5 | echo "$as_me: failed program was:" >&5 |
| 3873 | sed 's/^/| /' conftest.$ac_ext >&5 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3874 | ||
| 3875 | ||
| 3876 | fi | fi |
| 3877 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3878 |