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