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 20DUALCASE=1; export DUALCASE # for MKS sh 21if 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 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_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. 47if 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 --' 51elif (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' 54else 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' 74fi 75 76# The user is always right. 77if 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 } 83fi 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.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 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 104IFS=$as_save_IFS 105 106 ;; 107esac 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. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 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. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if 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 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test 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 177test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180else 181 as_have_required=no 182fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187as_found=false 188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189do 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 203fi 204fi 205 done;; 206 esac 207 as_found=false 208done 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 212fi; } 213IFS=$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+"$@"} 232fi 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 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260# as_fn_unset VAR 261# --------------- 262# Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269# as_fn_set_status STATUS 270# ----------------------- 271# Set $? to STATUS, without forking. 272as_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. 280as_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. 290as_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. 340if (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 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # 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. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # 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. 375as_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 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_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. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_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 463ECHO_C= ECHO_N= ECHO_T= 464case `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';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (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 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 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 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_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. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539 540test -n "$DJDIR" || exec 7<&0 </dev/null 541exec 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. 546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 547 548# 549# Initializations. 550# 551ac_default_prefix=/usr/local 552ac_clean_files= 553ac_config_libobj_dir=. 554LIBOBJS= 555cross_compiling=no 556subdirs= 557MFLAGS= 558MAKEFLAGS= 559 560# Identity of this package. 561PACKAGE_NAME='regexxer' 562PACKAGE_TARNAME='regexxer' 563PACKAGE_VERSION='0.10' 564PACKAGE_STRING='regexxer 0.10' 565PACKAGE_BUGREPORT='http://regexxer.sourceforge.net/bugs' 566PACKAGE_URL='http://regexxer.sourceforge.net/' 567 568ac_unique_file="ui/regexxer.desktop.in" 569# Factoring default headers for most tests. 570ac_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 605ac_subst_vars='am__EXEEXT_FALSE 606am__EXEEXT_TRUE 607LTLIBOBJS 608LIBOBJS 609REGEXXER_WARNING_FLAGS 610GSETTINGS_RULES 611GLIB_COMPILE_SCHEMAS 612gsettingsschemadir 613GSETTINGS_DISABLE_SCHEMAS_COMPILE 614GTK_UPDATE_ICON_CACHE 615GDK_PIXBUF_CSOURCE 616REGEXXER_MODULES_LIBS 617REGEXXER_MODULES_CFLAGS 618PKG_CONFIG_LIBDIR 619PKG_CONFIG_PATH 620PKG_CONFIG 621MKINSTALLDIRS 622POSUB 623POFILES 624PO_IN_DATADIR_FALSE 625PO_IN_DATADIR_TRUE 626INTLLIBS 627INSTOBJEXT 628GMOFILES 629CATOBJEXT 630CATALOGS 631MSGFMT_OPTS 632EGREP 633GREP 634CPP 635GETTEXT_PACKAGE 636DATADIRNAME 637ALL_LINGUAS 638INTLTOOL_PERL 639GMSGFMT 640MSGFMT 641MSGMERGE 642XGETTEXT 643INTLTOOL_POLICY_RULE 644INTLTOOL_SERVICE_RULE 645INTLTOOL_THEME_RULE 646INTLTOOL_SCHEMAS_RULE 647INTLTOOL_CAVES_RULE 648INTLTOOL_XML_NOMERGE_RULE 649INTLTOOL_XML_RULE 650INTLTOOL_KBD_RULE 651INTLTOOL_XAM_RULE 652INTLTOOL_UI_RULE 653INTLTOOL_SOUNDLIST_RULE 654INTLTOOL_SHEET_RULE 655INTLTOOL_SERVER_RULE 656INTLTOOL_PONG_RULE 657INTLTOOL_OAF_RULE 658INTLTOOL_PROP_RULE 659INTLTOOL_KEYS_RULE 660INTLTOOL_DIRECTORY_RULE 661INTLTOOL_DESKTOP_RULE 662INTLTOOL_EXTRACT 663INTLTOOL_MERGE 664INTLTOOL_UPDATE 665USE_NLS 666am__fastdepCXX_FALSE 667am__fastdepCXX_TRUE 668CXXDEPMODE 669ac_ct_CXX 670CXXFLAGS 671CXX 672am__fastdepCC_FALSE 673am__fastdepCC_TRUE 674CCDEPMODE 675AMDEPBACKSLASH 676AMDEP_FALSE 677AMDEP_TRUE 678am__quote 679am__include 680DEPDIR 681OBJEXT 682EXEEXT 683ac_ct_CC 684CPPFLAGS 685LDFLAGS 686CFLAGS 687CC 688ACLOCAL_FLAGS 689am__untar 690am__tar 691AMTAR 692am__leading_dot 693SET_MAKE 694AWK 695mkdir_p 696MKDIR_P 697INSTALL_STRIP_PROGRAM 698STRIP 699install_sh 700MAKEINFO 701AUTOHEADER 702AUTOMAKE 703AUTOCONF 704ACLOCAL 705VERSION 706PACKAGE 707CYGPATH_W 708am__isrc 709INSTALL_DATA 710INSTALL_SCRIPT 711INSTALL_PROGRAM 712target_alias 713host_alias 714build_alias 715LIBS 716ECHO_T 717ECHO_N 718ECHO_C 719DEFS 720mandir 721localedir 722libdir 723psdir 724pdfdir 725dvidir 726htmldir 727infodir 728docdir 729oldincludedir 730includedir 731localstatedir 732sharedstatedir 733sysconfdir 734datadir 735datarootdir 736libexecdir 737sbindir 738bindir 739program_transform_name 740prefix 741exec_prefix 742PACKAGE_URL 743PACKAGE_BUGREPORT 744PACKAGE_STRING 745PACKAGE_VERSION 746PACKAGE_TARNAME 747PACKAGE_NAME 748PATH_SEPARATOR 749SHELL' 750ac_subst_files='' 751ac_user_opts=' 752enable_option_checking 753enable_dependency_tracking 754enable_nls 755enable_schemas_compile 756enable_warnings 757' 758 ac_precious_vars='build_alias 759host_alias 760target_alias 761ACLOCAL_FLAGS 762CC 763CFLAGS 764LDFLAGS 765LIBS 766CPPFLAGS 767CXX 768CXXFLAGS 769CCC 770CPP 771PKG_CONFIG 772PKG_CONFIG_PATH 773PKG_CONFIG_LIBDIR 774REGEXXER_MODULES_CFLAGS 775REGEXXER_MODULES_LIBS' 776 777 778# Initialize some variables set by options. 779ac_init_help= 780ac_init_version=false 781ac_unrecognized_opts= 782ac_unrecognized_sep= 783# The variables have the same names as the options, with 784# dashes changed to underlines. 785cache_file=/dev/null 786exec_prefix=NONE 787no_create= 788no_recursion= 789prefix=NONE 790program_prefix=NONE 791program_suffix=NONE 792program_transform_name=s,x,x, 793silent= 794site= 795srcdir= 796verbose= 797x_includes=NONE 798x_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.) 806bindir='${exec_prefix}/bin' 807sbindir='${exec_prefix}/sbin' 808libexecdir='${exec_prefix}/libexec' 809datarootdir='${prefix}/share' 810datadir='${datarootdir}' 811sysconfdir='${prefix}/etc' 812sharedstatedir='${prefix}/com' 813localstatedir='${prefix}/var' 814includedir='${prefix}/include' 815oldincludedir='/usr/include' 816docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 817infodir='${datarootdir}/info' 818htmldir='${docdir}' 819dvidir='${docdir}' 820pdfdir='${docdir}' 821psdir='${docdir}' 822libdir='${exec_prefix}/lib' 823localedir='${datarootdir}/locale' 824mandir='${datarootdir}/man' 825 826ac_prev= 827ac_dashdash= 828for ac_option 829do 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' 1162Try \`$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 1184done 1185 1186if test -n "$ac_prev"; then 1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1188 as_fn_error $? "missing argument to $ac_option" 1189fi 1190 1191if 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 1197fi 1198 1199# Check all directory arguments for consistency. 1200for 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 1204do 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" 1218done 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. 1223build=$build_alias 1224host=$host_alias 1225target=$target_alias 1226 1227# FIXME: To remove some day. 1228if 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 1236fi 1237 1238ac_tool_prefix= 1239test -n "$host_alias" && ac_tool_prefix=$host_alias- 1240 1241test "$silent" = yes && exec 6>/dev/null 1242 1243 1244ac_pwd=`pwd` && test -n "$ac_pwd" && 1245ac_ls_di=`ls -di .` && 1246ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1247 as_fn_error $? "working directory cannot be determined" 1248test "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. 1253if 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 1283else 1284 ac_srcdir_defaulted=no 1285fi 1286if 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" 1289fi 1290ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1291ac_abs_confdir=`( 1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1293 pwd)` 1294# When building in place, set srcdir=. 1295if test "$ac_abs_confdir" = "$ac_pwd"; then 1296 srcdir=. 1297fi 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. 1301case $srcdir in 1302*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1303esac 1304for 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} 1309done 1310 1311# 1312# Report the --help message. 1313# 1314if 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 1320Usage: $0 [OPTION]... [VAR=VALUE]... 1321 1322To assign environment variables (e.g., CC, CFLAGS...), specify them as 1323VAR=VALUE. See below for descriptions of some of the useful variables. 1324 1325Defaults for the options are specified in brackets. 1326 1327Configuration: 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 1338Installation 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 1344By default, \`make install' will install all the files in 1345\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1346an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1347for instance \`--prefix=\$HOME'. 1348 1349For better control, use the options below. 1350 1351Fine 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 1375Program 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 1380fi 1381 1382if 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 1388Optional 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 1400Some 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 1423Use these variables to override the choices made by `configure' or to help 1424it to find libraries and programs with nonstandard names/locations. 1425 1426Report bugs to <http://regexxer.sourceforge.net/bugs>. 1427regexxer home page: <http://regexxer.sourceforge.net/>. 1428_ACEOF 1429ac_status=$? 1430fi 1431 1432if 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 1440case "$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 ;; 1450esac 1451ac_abs_top_builddir=$ac_pwd 1452ac_abs_builddir=$ac_pwd$ac_dir_suffix 1453# for backward compatibility: 1454ac_top_builddir=$ac_top_build_prefix 1455 1456case $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 ;; 1469esac 1470ac_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 1485fi 1486 1487test -n "$ac_init_help" && exit $ac_status 1488if $ac_init_version; then 1489 cat <<\_ACEOF 1490regexxer configure 0.10 1491generated by GNU Autoconf 2.68 1492 1493Copyright (C) 2010 Free Software Foundation, Inc. 1494This configure script is free software; the Free Software Foundation 1495gives unlimited permission to copy, distribute and modify it. 1496_ACEOF 1497 exit 1498fi 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. 1507ac_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" 1512case "(($ac_try" in 1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1514 *) ac_try_echo=$ac_try;; 1515esac 1516eval 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 1531else 1532 $as_echo "$as_me: failed program was:" >&5 1533sed 's/^/| /' conftest.$ac_ext >&5 1534 1535 ac_retval=1 1536fi 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. 1545ac_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" 1550case "(($ac_try" in 1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1552 *) ac_try_echo=$ac_try;; 1553esac 1554eval 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 1569else 1570 $as_echo "$as_me: failed program was:" >&5 1571sed 's/^/| /' conftest.$ac_ext >&5 1572 1573 ac_retval=1 1574fi 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. 1583ac_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" 1588case "(($ac_try" in 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1590 *) ac_try_echo=$ac_try;; 1591esac 1592eval 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 1610else 1611 $as_echo "$as_me: failed program was:" >&5 1612sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=1 1615fi 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 1629ac_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; } 1634if eval \${$3+:} false; then : 1635 $as_echo_n "(cached) " >&6 1636else 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 1660extern "C" 1661#endif 1662char $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 1667choke me 1668#endif 1669 1670int 1671main () 1672{ 1673return $2 (); 1674 ; 1675 return 0; 1676} 1677_ACEOF 1678if ac_fn_c_try_link "$LINENO"; then : 1679 eval "$3=yes" 1680else 1681 eval "$3=no" 1682fi 1683rm -f core conftest.err conftest.$ac_objext \ 1684 conftest$ac_exeext conftest.$ac_ext 1685fi 1686eval 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. 1696ac_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" 1700case "(($ac_try" in 1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1702 *) ac_try_echo=$ac_try;; 1703esac 1704eval 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 1719else 1720 $as_echo "$as_me: failed program was:" >&5 1721sed 's/^/| /' conftest.$ac_ext >&5 1722 1723 ac_retval=1 1724fi 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. 1734ac_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" 1738case "(($ac_try" in 1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1740 *) ac_try_echo=$ac_try;; 1741esac 1742eval 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;; 1751esac 1752eval 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 1759else 1760 $as_echo "$as_me: program exited with status $ac_status" >&5 1761 $as_echo "$as_me: failed program was:" >&5 1762sed 's/^/| /' conftest.$ac_ext >&5 1763 1764 ac_retval=$ac_status 1765fi 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. 1777ac_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; } 1783if eval \${$3+:} false; then : 1784 $as_echo_n "(cached) " >&6 1785fi 1786eval ac_res=\$$3 1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1788$as_echo "$ac_res" >&6; } 1789else 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; } 1793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1794/* end confdefs.h. */ 1795$4 1796#include <$2> 1797_ACEOF 1798if ac_fn_c_try_compile "$LINENO"; then : 1799 ac_header_compiler=yes 1800else 1801 ac_header_compiler=no 1802fi 1803rm -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; } 1810cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1811/* end confdefs.h. */ 1812#include <$2> 1813_ACEOF 1814if ac_fn_c_try_cpp "$LINENO"; then : 1815 ac_header_preproc=yes 1816else 1817 ac_header_preproc=no 1818fi 1819rm -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? 1824case $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 ;; 1847esac 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1849$as_echo_n "checking for $2... " >&6; } 1850if eval \${$3+:} false; then : 1851 $as_echo_n "(cached) " >&6 1852else 1853 eval "$3=\$ac_header_compiler" 1854fi 1855eval ac_res=\$$3 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857$as_echo "$ac_res" >&6; } 1858fi 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. 1867ac_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; } 1872if eval \${$3+:} false; then : 1873 $as_echo_n "(cached) " >&6 1874else 1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1876/* end confdefs.h. */ 1877$4 1878#include <$2> 1879_ACEOF 1880if ac_fn_c_try_compile "$LINENO"; then : 1881 eval "$3=yes" 1882else 1883 eval "$3=no" 1884fi 1885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1886fi 1887eval 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 1893cat >config.log <<_ACEOF 1894This file contains any messages produced by compilers while 1895running configure, to aid debugging if configure makes a mistake. 1896 1897It was created by regexxer $as_me 0.10, which was 1898generated by GNU Autoconf 2.68. Invocation command line was 1899 1900 $ $0 $@ 1901 1902_ACEOF 1903exec 5>>config.log 1904{ 1905cat <<_ASUNAME 1906## --------- ## 1907## Platform. ## 1908## --------- ## 1909 1910hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1911uname -m = `(uname -m) 2>/dev/null || echo unknown` 1912uname -r = `(uname -r) 2>/dev/null || echo unknown` 1913uname -s = `(uname -s) 2>/dev/null || echo unknown` 1914uname -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 1929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1930for as_dir in $PATH 1931do 1932 IFS=$as_save_IFS 1933 test -z "$as_dir" && as_dir=. 1934 $as_echo "PATH: $as_dir" 1935 done 1936IFS=$as_save_IFS 1937 1938} >&5 1939 1940cat >&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. 1955ac_configure_args= 1956ac_configure_args0= 1957ac_configure_args1= 1958ac_must_keep_next=false 1959for ac_pass in 1 2 1960do 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 1994done 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. 2003trap '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 2090for ac_signal in 1 2 13 15; do 2091 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2092done 2093ac_signal=0 2094 2095# confdefs.h avoids OS command line length limits that DEFS can exceed. 2096rm -f -r conftest* confdefs.h 2097 2098$as_echo "/* confdefs.h */" > confdefs.h 2099 2100# Predefined preprocessor variables. 2101 2102cat >>confdefs.h <<_ACEOF 2103#define PACKAGE_NAME "$PACKAGE_NAME" 2104_ACEOF 2105 2106cat >>confdefs.h <<_ACEOF 2107#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2108_ACEOF 2109 2110cat >>confdefs.h <<_ACEOF 2111#define PACKAGE_VERSION "$PACKAGE_VERSION" 2112_ACEOF 2113 2114cat >>confdefs.h <<_ACEOF 2115#define PACKAGE_STRING "$PACKAGE_STRING" 2116_ACEOF 2117 2118cat >>confdefs.h <<_ACEOF 2119#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2120_ACEOF 2121 2122cat >>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. 2129ac_site_file1=NONE 2130ac_site_file2=NONE 2131if 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 2138elif test "x$prefix" != xNONE; then 2139 ac_site_file1=$prefix/share/config.site 2140 ac_site_file2=$prefix/etc/config.site 2141else 2142 ac_site_file1=$ac_default_prefix/share/config.site 2143 ac_site_file2=$ac_default_prefix/etc/config.site 2144fi 2145for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2146do 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;} 2155as_fn_error $? "failed to load site script $ac_site_file 2156See \`config.log' for more details" "$LINENO" 5; } 2157 fi 2158done 2159 2160if 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 2171else 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 2175fi 2176 2177# Check that the precious variables saved in the cache have kept the same 2178# value. 2179ac_cache_corrupted=false 2180for 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 2226done 2227if $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 2233fi 2234## -------------------- ## 2235## Main body of script. ## 2236## -------------------- ## 2237 2238ac_ext=c 2239ac_cpp='$CPP $CPPFLAGS' 2240ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2241ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2242ac_compiler_gnu=$ac_cv_c_compiler_gnu 2243 2244 2245 2246 2247 2248 2249ac_config_headers="$ac_config_headers config.h" 2250 2251 2252am__api_version='1.11' 2253 2254ac_aux_dir= 2255for 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 2269done 2270if test -z "$ac_aux_dir"; then 2271 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2272fi 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. 2278ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2279ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2280ac_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; } 2299if test -z "$INSTALL"; then 2300if ${ac_cv_path_install+:} false; then : 2301 $as_echo_n "(cached) " >&6 2302else 2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2304for as_dir in $PATH 2305do 2306 IFS=$as_save_IFS 2307 test -z "$as_dir" && as_dir=. 2308 # Account for people who put trailing slashes in PATH elements. 2309case $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 ;; 2347esac 2348 2349 done 2350IFS=$as_save_IFS 2351 2352rm -rf conftest.one conftest.two conftest.dir 2353 2354fi 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 2364fi 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. 2370test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2371 2372test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2373 2374test -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 2379sleep 1 2380echo timestamp > conftest.file 2381# Reject unsafe characters in $srcdir or the absolute working directory 2382# name. Accept space and tab only in the latter. 2383am_lf=' 2384' 2385case `pwd` in 2386 *[\\\"\#\$\&\'\`$am_lf]*) 2387 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2388esac 2389case $srcdir in 2390 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2391 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2392esac 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). 2399if ( 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 2414alias in your environment" "$LINENO" 5 2415 fi 2416 2417 test "$2" = conftest.file 2418 ) 2419then 2420 # Ok. 2421 : 2422else 2423 as_fn_error $? "newly created file is older than distributed files! 2424Check your system clock" "$LINENO" 5 2425fi 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2427$as_echo "yes" >&6; } 2428test "$program_prefix" != NONE && 2429 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2430# Use a double $ so make ignores it. 2431test "$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. 2435ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2436program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2437 2438# expand $ac_aux_dir to an absolute path 2439am_aux_dir=`cd $ac_aux_dir && pwd` 2440 2441if 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 2448fi 2449# Use eval to expand $SHELL 2450if eval "$MISSING --run true"; then 2451 am_missing_run="$MISSING --run " 2452else 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;} 2456fi 2457 2458if 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 2465fi 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. 2471if 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. 2474set 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; } 2477if ${ac_cv_prog_STRIP+:} false; then : 2478 $as_echo_n "(cached) " >&6 2479else 2480 if test -n "$STRIP"; then 2481 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2482else 2483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2484for as_dir in $PATH 2485do 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 2494done 2495 done 2496IFS=$as_save_IFS 2497 2498fi 2499fi 2500STRIP=$ac_cv_prog_STRIP 2501if test -n "$STRIP"; then 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2503$as_echo "$STRIP" >&6; } 2504else 2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2506$as_echo "no" >&6; } 2507fi 2508 2509 2510fi 2511if 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. 2514set 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; } 2517if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2518 $as_echo_n "(cached) " >&6 2519else 2520 if test -n "$ac_ct_STRIP"; then 2521 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2522else 2523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2524for as_dir in $PATH 2525do 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 2534done 2535 done 2536IFS=$as_save_IFS 2537 2538fi 2539fi 2540ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2541if 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; } 2544else 2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2546$as_echo "no" >&6; } 2547fi 2548 2549 if test "x$ac_ct_STRIP" = x; then 2550 STRIP=":" 2551 else 2552 case $cross_compiling:$ac_tool_warned in 2553yes:) 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;} 2556ac_tool_warned=yes ;; 2557esac 2558 STRIP=$ac_ct_STRIP 2559 fi 2560else 2561 STRIP="$ac_cv_prog_STRIP" 2562fi 2563 2564fi 2565INSTALL_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; } 2569if test -z "$MKDIR_P"; then 2570 if ${ac_cv_path_mkdir+:} false; then : 2571 $as_echo_n "(cached) " >&6 2572else 2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2574for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2575do 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 2591IFS=$as_save_IFS 2592 2593fi 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 2605fi 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2607$as_echo "$MKDIR_P" >&6; } 2608 2609mkdir_p="$MKDIR_P" 2610case $mkdir_p in 2611 [\\/$]* | ?:[\\/]*) ;; 2612 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2613esac 2614 2615for ac_prog in gawk mawk nawk awk 2616do 2617 # Extract the first word of "$ac_prog", so it can be a program name with args. 2618set 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; } 2621if ${ac_cv_prog_AWK+:} false; then : 2622 $as_echo_n "(cached) " >&6 2623else 2624 if test -n "$AWK"; then 2625 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2626else 2627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2628for as_dir in $PATH 2629do 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 2638done 2639 done 2640IFS=$as_save_IFS 2641 2642fi 2643fi 2644AWK=$ac_cv_prog_AWK 2645if test -n "$AWK"; then 2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2647$as_echo "$AWK" >&6; } 2648else 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2650$as_echo "no" >&6; } 2651fi 2652 2653 2654 test -n "$AWK" && break 2655done 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; } 2659set x ${MAKE-make} 2660ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2661if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2662 $as_echo_n "(cached) " >&6 2663else 2664 cat >conftest.make <<\_ACEOF 2665SHELL = /bin/sh 2666all: 2667 @echo '@@@%%%=$(MAKE)=@@@%%%' 2668_ACEOF 2669# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2670case `${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;; 2675esac 2676rm -f conftest.make 2677fi 2678if 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= 2682else 2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2684$as_echo "no" >&6; } 2685 SET_MAKE="MAKE=${MAKE-make}" 2686fi 2687 2688rm -rf .tst 2>/dev/null 2689mkdir .tst 2>/dev/null 2690if test -d .tst; then 2691 am__leading_dot=. 2692else 2693 am__leading_dot=_ 2694fi 2695rmdir .tst 2>/dev/null 2696 2697if 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 2705fi 2706 2707# test whether we have cygpath 2708if 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 2714fi 2715 2716 2717# Define the identity of the package. 2718 PACKAGE='regexxer' 2719 VERSION='0.10' 2720 2721 2722# Some tools Automake needs. 2723 2724ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2725 2726 2727AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2728 2729 2730AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2731 2732 2733AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2734 2735 2736MAKEINFO=${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 2742AMTAR=${AMTAR-"${am_missing_run}tar"} 2743 2744am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2745 2746 2747 2748 2749 2750 2751 2752ac_ext=c 2753ac_cpp='$CPP $CPPFLAGS' 2754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2756ac_compiler_gnu=$ac_cv_c_compiler_gnu 2757if 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. 2759set 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; } 2762if ${ac_cv_prog_CC+:} false; then : 2763 $as_echo_n "(cached) " >&6 2764else 2765 if test -n "$CC"; then 2766 ac_cv_prog_CC="$CC" # Let the user override the test. 2767else 2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769for as_dir in $PATH 2770do 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 2779done 2780 done 2781IFS=$as_save_IFS 2782 2783fi 2784fi 2785CC=$ac_cv_prog_CC 2786if test -n "$CC"; then 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2788$as_echo "$CC" >&6; } 2789else 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2791$as_echo "no" >&6; } 2792fi 2793 2794 2795fi 2796if 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. 2799set 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; } 2802if ${ac_cv_prog_ac_ct_CC+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 if test -n "$ac_ct_CC"; then 2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2807else 2808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2809for as_dir in $PATH 2810do 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 2819done 2820 done 2821IFS=$as_save_IFS 2822 2823fi 2824fi 2825ac_ct_CC=$ac_cv_prog_ac_ct_CC 2826if 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; } 2829else 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831$as_echo "no" >&6; } 2832fi 2833 2834 if test "x$ac_ct_CC" = x; then 2835 CC="" 2836 else 2837 case $cross_compiling:$ac_tool_warned in 2838yes:) 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;} 2841ac_tool_warned=yes ;; 2842esac 2843 CC=$ac_ct_CC 2844 fi 2845else 2846 CC="$ac_cv_prog_CC" 2847fi 2848 2849if 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. 2852set 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; } 2855if ${ac_cv_prog_CC+:} false; then : 2856 $as_echo_n "(cached) " >&6 2857else 2858 if test -n "$CC"; then 2859 ac_cv_prog_CC="$CC" # Let the user override the test. 2860else 2861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2862for as_dir in $PATH 2863do 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 2872done 2873 done 2874IFS=$as_save_IFS 2875 2876fi 2877fi 2878CC=$ac_cv_prog_CC 2879if test -n "$CC"; then 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2881$as_echo "$CC" >&6; } 2882else 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2884$as_echo "no" >&6; } 2885fi 2886 2887 2888 fi 2889fi 2890if test -z "$CC"; then 2891 # Extract the first word of "cc", so it can be a program name with args. 2892set 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; } 2895if ${ac_cv_prog_CC+:} false; then : 2896 $as_echo_n "(cached) " >&6 2897else 2898 if test -n "$CC"; then 2899 ac_cv_prog_CC="$CC" # Let the user override the test. 2900else 2901 ac_prog_rejected=no 2902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2903for as_dir in $PATH 2904do 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 2917done 2918 done 2919IFS=$as_save_IFS 2920 2921if 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 2932fi 2933fi 2934fi 2935CC=$ac_cv_prog_CC 2936if test -n "$CC"; then 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2938$as_echo "$CC" >&6; } 2939else 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2941$as_echo "no" >&6; } 2942fi 2943 2944 2945fi 2946if 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. 2951set 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; } 2954if ${ac_cv_prog_CC+:} false; then : 2955 $as_echo_n "(cached) " >&6 2956else 2957 if test -n "$CC"; then 2958 ac_cv_prog_CC="$CC" # Let the user override the test. 2959else 2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2961for as_dir in $PATH 2962do 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 2971done 2972 done 2973IFS=$as_save_IFS 2974 2975fi 2976fi 2977CC=$ac_cv_prog_CC 2978if test -n "$CC"; then 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2980$as_echo "$CC" >&6; } 2981else 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2983$as_echo "no" >&6; } 2984fi 2985 2986 2987 test -n "$CC" && break 2988 done 2989fi 2990if test -z "$CC"; then 2991 ac_ct_CC=$CC 2992 for ac_prog in cl.exe 2993do 2994 # Extract the first word of "$ac_prog", so it can be a program name with args. 2995set 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; } 2998if ${ac_cv_prog_ac_ct_CC+:} false; then : 2999 $as_echo_n "(cached) " >&6 3000else 3001 if test -n "$ac_ct_CC"; then 3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3003else 3004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3005for as_dir in $PATH 3006do 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 3015done 3016 done 3017IFS=$as_save_IFS 3018 3019fi 3020fi 3021ac_ct_CC=$ac_cv_prog_ac_ct_CC 3022if 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; } 3025else 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3027$as_echo "no" >&6; } 3028fi 3029 3030 3031 test -n "$ac_ct_CC" && break 3032done 3033 3034 if test "x$ac_ct_CC" = x; then 3035 CC="" 3036 else 3037 case $cross_compiling:$ac_tool_warned in 3038yes:) 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;} 3041ac_tool_warned=yes ;; 3042esac 3043 CC=$ac_ct_CC 3044 fi 3045fi 3046 3047fi 3048 3049 3050test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3052as_fn_error $? "no acceptable C compiler found in \$PATH 3053See \`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 3057set X $ac_compile 3058ac_compiler=$2 3059for ac_option in --version -v -V -qversion; do 3060 { { ac_try="$ac_compiler $ac_option >&5" 3061case "(($ac_try" in 3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3063 *) ac_try_echo=$ac_try;; 3064esac 3065eval 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; } 3078done 3079 3080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3081/* end confdefs.h. */ 3082 3083int 3084main () 3085{ 3086 3087 ; 3088 return 0; 3089} 3090_ACEOF 3091ac_clean_files_save=$ac_clean_files 3092ac_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; } 3098ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3099 3100# The possible output files: 3101ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3102 3103ac_rmfiles= 3104for ac_file in $ac_files 3105do 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 3110done 3111rm -f $ac_rmfiles 3112 3113if { { ac_try="$ac_link_default" 3114case "(($ac_try" in 3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3116 *) ac_try_echo=$ac_try;; 3117esac 3118eval 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. 3129for ac_file in $ac_files '' 3130do 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 3153done 3154test "$ac_cv_exeext" = no && ac_cv_exeext= 3155 3156else 3157 ac_file='' 3158fi 3159if 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 3163sed '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;} 3167as_fn_error 77 "C compiler cannot create executables 3168See \`config.log' for more details" "$LINENO" 5; } 3169else 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3171$as_echo "yes" >&6; } 3172fi 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; } 3177ac_exeext=$ac_cv_exeext 3178 3179rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3180ac_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; } 3183if { { ac_try="$ac_link" 3184case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187esac 3188eval 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'. 3198for 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 3206done 3207else 3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3210as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3211See \`config.log' for more details" "$LINENO" 5; } 3212fi 3213rm -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 3217rm -f conftest.$ac_ext 3218EXEEXT=$ac_cv_exeext 3219ac_exeext=$EXEEXT 3220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3221/* end confdefs.h. */ 3222#include <stdio.h> 3223int 3224main () 3225{ 3226FILE *f = fopen ("conftest.out", "w"); 3227 return ferror (f) || fclose (f) != 0; 3228 3229 ; 3230 return 0; 3231} 3232_ACEOF 3233ac_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; } 3238if test "$cross_compiling" != yes; then 3239 { { ac_try="$ac_link" 3240case "(($ac_try" in 3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3242 *) ac_try_echo=$ac_try;; 3243esac 3244eval 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;; 3254esac 3255eval 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;} 3268as_fn_error $? "cannot run C compiled programs. 3269If you meant to cross compile, use \`--host'. 3270See \`config.log' for more details" "$LINENO" 5; } 3271 fi 3272 fi 3273fi 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3275$as_echo "$cross_compiling" >&6; } 3276 3277rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3278ac_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; } 3281if ${ac_cv_objext+:} false; then : 3282 $as_echo_n "(cached) " >&6 3283else 3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3285/* end confdefs.h. */ 3286 3287int 3288main () 3289{ 3290 3291 ; 3292 return 0; 3293} 3294_ACEOF 3295rm -f conftest.o conftest.obj 3296if { { ac_try="$ac_compile" 3297case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300esac 3301eval 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 3314done 3315else 3316 $as_echo "$as_me: failed program was:" >&5 3317sed '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;} 3321as_fn_error $? "cannot compute suffix of object files: cannot compile 3322See \`config.log' for more details" "$LINENO" 5; } 3323fi 3324rm -f conftest.$ac_cv_objext conftest.$ac_ext 3325fi 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3327$as_echo "$ac_cv_objext" >&6; } 3328OBJEXT=$ac_cv_objext 3329ac_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; } 3332if ${ac_cv_c_compiler_gnu+:} false; then : 3333 $as_echo_n "(cached) " >&6 3334else 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3336/* end confdefs.h. */ 3337 3338int 3339main () 3340{ 3341#ifndef __GNUC__ 3342 choke me 3343#endif 3344 3345 ; 3346 return 0; 3347} 3348_ACEOF 3349if ac_fn_c_try_compile "$LINENO"; then : 3350 ac_compiler_gnu=yes 3351else 3352 ac_compiler_gnu=no 3353fi 3354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3355ac_cv_c_compiler_gnu=$ac_compiler_gnu 3356 3357fi 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3359$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3360if test $ac_compiler_gnu = yes; then 3361 GCC=yes 3362else 3363 GCC= 3364fi 3365ac_test_CFLAGS=${CFLAGS+set} 3366ac_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; } 3369if ${ac_cv_prog_cc_g+:} false; then : 3370 $as_echo_n "(cached) " >&6 3371else 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 3379int 3380main () 3381{ 3382 3383 ; 3384 return 0; 3385} 3386_ACEOF 3387if ac_fn_c_try_compile "$LINENO"; then : 3388 ac_cv_prog_cc_g=yes 3389else 3390 CFLAGS="" 3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3392/* end confdefs.h. */ 3393 3394int 3395main () 3396{ 3397 3398 ; 3399 return 0; 3400} 3401_ACEOF 3402if ac_fn_c_try_compile "$LINENO"; then : 3403 3404else 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 3410int 3411main () 3412{ 3413 3414 ; 3415 return 0; 3416} 3417_ACEOF 3418if ac_fn_c_try_compile "$LINENO"; then : 3419 ac_cv_prog_cc_g=yes 3420fi 3421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3422fi 3423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3424fi 3425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3426 ac_c_werror_flag=$ac_save_c_werror_flag 3427fi 3428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3429$as_echo "$ac_cv_prog_cc_g" >&6; } 3430if test "$ac_test_CFLAGS" = set; then 3431 CFLAGS=$ac_save_CFLAGS 3432elif 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 3438else 3439 if test "$GCC" = yes; then 3440 CFLAGS="-O2" 3441 else 3442 CFLAGS= 3443 fi 3444fi 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; } 3447if ${ac_cv_prog_cc_c89+:} false; then : 3448 $as_echo_n "(cached) " >&6 3449else 3450 ac_cv_prog_cc_c89=no 3451ac_save_CC=$CC 3452cat 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. */ 3459struct buf { int x; }; 3460FILE * (*rcsopen) (struct buf *, struct stat *, int); 3461static char *e (p, i) 3462 char **p; 3463 int i; 3464{ 3465 return p[i]; 3466} 3467static 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. */ 3484int 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' 3489int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3490 3491int test (int i, double x); 3492struct s1 {int (*f) (int a);}; 3493struct s2 {int (*f) (double a);}; 3494int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3495int argc; 3496char **argv; 3497int 3498main () 3499{ 3500return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3501 ; 3502 return 0; 3503} 3504_ACEOF 3505for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3507do 3508 CC="$ac_save_CC $ac_arg" 3509 if ac_fn_c_try_compile "$LINENO"; then : 3510 ac_cv_prog_cc_c89=$ac_arg 3511fi 3512rm -f core conftest.err conftest.$ac_objext 3513 test "x$ac_cv_prog_cc_c89" != "xno" && break 3514done 3515rm -f conftest.$ac_ext 3516CC=$ac_save_CC 3517 3518fi 3519# AC_CACHE_VAL 3520case "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; } ;; 3531esac 3532if test "x$ac_cv_prog_cc_c89" != xno; then : 3533 3534fi 3535 3536ac_ext=c 3537ac_cpp='$CPP $CPPFLAGS' 3538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3540ac_compiler_gnu=$ac_cv_c_compiler_gnu 3541DEPDIR="${am__leading_dot}deps" 3542 3543ac_config_commands="$ac_config_commands depfiles" 3544 3545 3546am_make=${MAKE-make} 3547cat > confinc << 'END' 3548am__doit: 3549 @echo this is the am__doit target 3550.PHONY: am__doit 3551END 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; } 3555am__include="#" 3556am__quote= 3557_am_result=none 3558# First try GNU make style include. 3559echo "include confinc" > confmf 3560# Ignore all kinds of additional output from `make'. 3561case `$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 ;; 3567esac 3568# Now try BSD make style include. 3569if 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 3578fi 3579 3580 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3582$as_echo "$_am_result" >&6; } 3583rm -f confinc confmf 3584 3585# Check whether --enable-dependency-tracking was given. 3586if test "${enable_dependency_tracking+set}" = set; then : 3587 enableval=$enable_dependency_tracking; 3588fi 3589 3590if test "x$enable_dependency_tracking" != xno; then 3591 am_depcomp="$ac_aux_dir/depcomp" 3592 AMDEPBACKSLASH='\' 3593fi 3594 if test "x$enable_dependency_tracking" != xno; then 3595 AMDEP_TRUE= 3596 AMDEP_FALSE='#' 3597else 3598 AMDEP_TRUE='#' 3599 AMDEP_FALSE= 3600fi 3601 3602 3603 3604depcc="$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; } 3608if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3609 $as_echo_n "(cached) " >&6 3610else 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 3711else 3712 am_cv_CC_dependencies_compiler_type=none 3713fi 3714 3715fi 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; } 3718CCDEPMODE=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='#' 3725else 3726 am__fastdepCC_TRUE='#' 3727 am__fastdepCC_FALSE= 3728fi 3729 3730 3731ac_ext=cpp 3732ac_cpp='$CXXCPP $CPPFLAGS' 3733ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3734ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3735ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3736if 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. 3744set 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; } 3747if ${ac_cv_prog_CXX+:} false; then : 3748 $as_echo_n "(cached) " >&6 3749else 3750 if test -n "$CXX"; then 3751 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3752else 3753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3754for as_dir in $PATH 3755do 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 3764done 3765 done 3766IFS=$as_save_IFS 3767 3768fi 3769fi 3770CXX=$ac_cv_prog_CXX 3771if test -n "$CXX"; then 3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3773$as_echo "$CXX" >&6; } 3774else 3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3776$as_echo "no" >&6; } 3777fi 3778 3779 3780 test -n "$CXX" && break 3781 done 3782fi 3783if 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 3786do 3787 # Extract the first word of "$ac_prog", so it can be a program name with args. 3788set 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; } 3791if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3792 $as_echo_n "(cached) " >&6 3793else 3794 if test -n "$ac_ct_CXX"; then 3795 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3796else 3797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3798for as_dir in $PATH 3799do 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 3808done 3809 done 3810IFS=$as_save_IFS 3811 3812fi 3813fi 3814ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3815if 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; } 3818else 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3820$as_echo "no" >&6; } 3821fi 3822 3823 3824 test -n "$ac_ct_CXX" && break 3825done 3826 3827 if test "x$ac_ct_CXX" = x; then 3828 CXX="g++" 3829 else 3830 case $cross_compiling:$ac_tool_warned in 3831yes:) 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;} 3834ac_tool_warned=yes ;; 3835esac 3836 CXX=$ac_ct_CXX 3837 fi 3838fi 3839 3840 fi 3841fi 3842# Provide some information about the compiler. 3843$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3844set X $ac_compile 3845ac_compiler=$2 3846for ac_option in --version -v -V -qversion; do 3847 { { ac_try="$ac_compiler $ac_option >&5" 3848case "(($ac_try" in 3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3850 *) ac_try_echo=$ac_try;; 3851esac 3852eval 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; } 3865done 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; } 3869if ${ac_cv_cxx_compiler_gnu+:} false; then : 3870 $as_echo_n "(cached) " >&6 3871else 3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3873/* end confdefs.h. */ 3874 3875int 3876main () 3877{ 3878#ifndef __GNUC__ 3879 choke me 3880#endif 3881 3882 ; 3883 return 0; 3884} 3885_ACEOF 3886if ac_fn_cxx_try_compile "$LINENO"; then : 3887 ac_compiler_gnu=yes 3888else 3889 ac_compiler_gnu=no 3890fi 3891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3892ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3893 3894fi 3895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3896$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3897if test $ac_compiler_gnu = yes; then 3898 GXX=yes 3899else 3900 GXX= 3901fi 3902ac_test_CXXFLAGS=${CXXFLAGS+set} 3903ac_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; } 3906if ${ac_cv_prog_cxx_g+:} false; then : 3907 $as_echo_n "(cached) " >&6 3908else 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 3916int 3917main () 3918{ 3919 3920 ; 3921 return 0; 3922} 3923_ACEOF 3924if ac_fn_cxx_try_compile "$LINENO"; then : 3925 ac_cv_prog_cxx_g=yes 3926else 3927 CXXFLAGS="" 3928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3929/* end confdefs.h. */ 3930 3931int 3932main () 3933{ 3934 3935 ; 3936 return 0; 3937} 3938_ACEOF 3939if ac_fn_cxx_try_compile "$LINENO"; then : 3940 3941else 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 3947int 3948main () 3949{ 3950 3951 ; 3952 return 0; 3953} 3954_ACEOF 3955if ac_fn_cxx_try_compile "$LINENO"; then : 3956 ac_cv_prog_cxx_g=yes 3957fi 3958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3959fi 3960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3961fi 3962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3963 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3964fi 3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3966$as_echo "$ac_cv_prog_cxx_g" >&6; } 3967if test "$ac_test_CXXFLAGS" = set; then 3968 CXXFLAGS=$ac_save_CXXFLAGS 3969elif 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 3975else 3976 if test "$GXX" = yes; then 3977 CXXFLAGS="-O2" 3978 else 3979 CXXFLAGS= 3980 fi 3981fi 3982ac_ext=c 3983ac_cpp='$CPP $CPPFLAGS' 3984ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3985ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3986ac_compiler_gnu=$ac_cv_c_compiler_gnu 3987 3988depcc="$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; } 3992if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3993 $as_echo_n "(cached) " >&6 3994else 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 4095else 4096 am_cv_CXX_dependencies_compiler_type=none 4097fi 4098 4099fi 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; } 4102CXXDEPMODE=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='#' 4109else 4110 am__fastdepCXX_TRUE='#' 4111 am__fastdepCXX_FALSE= 4112fi 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. 4120if test "${enable_nls+set}" = set; then : 4121 enableval=$enable_nls; USE_NLS=$enableval 4122else 4123 USE_NLS=yes 4124fi 4125 4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 4127$as_echo "$USE_NLS" >&6; } 4128 4129 4130 4131 4132 4133case "$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 ;; 4139esac 4140 4141if 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 4153fi 4154 4155# Extract the first word of "intltool-update", so it can be a program name with args. 4156set 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; } 4159if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 4160 $as_echo_n "(cached) " >&6 4161else 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 4168for as_dir in $PATH 4169do 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 4178done 4179 done 4180IFS=$as_save_IFS 4181 4182 ;; 4183esac 4184fi 4185INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 4186if test -n "$INTLTOOL_UPDATE"; then 4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 4188$as_echo "$INTLTOOL_UPDATE" >&6; } 4189else 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4191$as_echo "no" >&6; } 4192fi 4193 4194 4195# Extract the first word of "intltool-merge", so it can be a program name with args. 4196set 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; } 4199if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 4200 $as_echo_n "(cached) " >&6 4201else 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 4208for as_dir in $PATH 4209do 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 4218done 4219 done 4220IFS=$as_save_IFS 4221 4222 ;; 4223esac 4224fi 4225INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 4226if test -n "$INTLTOOL_MERGE"; then 4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 4228$as_echo "$INTLTOOL_MERGE" >&6; } 4229else 4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4231$as_echo "no" >&6; } 4232fi 4233 4234 4235# Extract the first word of "intltool-extract", so it can be a program name with args. 4236set 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; } 4239if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 4240 $as_echo_n "(cached) " >&6 4241else 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 4248for as_dir in $PATH 4249do 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 4258done 4259 done 4260IFS=$as_save_IFS 4261 4262 ;; 4263esac 4264fi 4265INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 4266if test -n "$INTLTOOL_EXTRACT"; then 4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 4268$as_echo "$INTLTOOL_EXTRACT" >&6; } 4269else 4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4271$as_echo "no" >&6; } 4272fi 4273 4274 4275if 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 4277fi 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 $< $@' 4280INTLTOOL_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 $< $@' 4287INTLTOOL_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. 4397set 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; } 4400if ${ac_cv_path_XGETTEXT+:} false; then : 4401 $as_echo_n "(cached) " >&6 4402else 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 4409for as_dir in $PATH 4410do 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 4419done 4420 done 4421IFS=$as_save_IFS 4422 4423 ;; 4424esac 4425fi 4426XGETTEXT=$ac_cv_path_XGETTEXT 4427if test -n "$XGETTEXT"; then 4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4429$as_echo "$XGETTEXT" >&6; } 4430else 4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4432$as_echo "no" >&6; } 4433fi 4434 4435 4436# Extract the first word of "msgmerge", so it can be a program name with args. 4437set 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; } 4440if ${ac_cv_path_MSGMERGE+:} false; then : 4441 $as_echo_n "(cached) " >&6 4442else 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 4449for as_dir in $PATH 4450do 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 4459done 4460 done 4461IFS=$as_save_IFS 4462 4463 ;; 4464esac 4465fi 4466MSGMERGE=$ac_cv_path_MSGMERGE 4467if test -n "$MSGMERGE"; then 4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4469$as_echo "$MSGMERGE" >&6; } 4470else 4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4472$as_echo "no" >&6; } 4473fi 4474 4475 4476# Extract the first word of "msgfmt", so it can be a program name with args. 4477set 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; } 4480if ${ac_cv_path_MSGFMT+:} false; then : 4481 $as_echo_n "(cached) " >&6 4482else 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 4489for as_dir in $PATH 4490do 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 4499done 4500 done 4501IFS=$as_save_IFS 4502 4503 ;; 4504esac 4505fi 4506MSGFMT=$ac_cv_path_MSGFMT 4507if test -n "$MSGFMT"; then 4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4509$as_echo "$MSGFMT" >&6; } 4510else 4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4512$as_echo "no" >&6; } 4513fi 4514 4515 4516# Extract the first word of "gmsgfmt", so it can be a program name with args. 4517set 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; } 4520if ${ac_cv_path_GMSGFMT+:} false; then : 4521 $as_echo_n "(cached) " >&6 4522else 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 4529for as_dir in $PATH 4530do 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 4539done 4540 done 4541IFS=$as_save_IFS 4542 4543 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4544 ;; 4545esac 4546fi 4547GMSGFMT=$ac_cv_path_GMSGFMT 4548if test -n "$GMSGFMT"; then 4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4550$as_echo "$GMSGFMT" >&6; } 4551else 4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4553$as_echo "no" >&6; } 4554fi 4555 4556 4557if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 4558 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4559fi 4560xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 4561mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 4562mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 4563if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 4564 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4565fi 4566 4567# Extract the first word of "perl", so it can be a program name with args. 4568set 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; } 4571if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 4572 $as_echo_n "(cached) " >&6 4573else 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 4580for as_dir in $PATH 4581do 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 4590done 4591 done 4592IFS=$as_save_IFS 4593 4594 ;; 4595esac 4596fi 4597INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 4598if test -n "$INTLTOOL_PERL"; then 4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 4600$as_echo "$INTLTOOL_PERL" >&6; } 4601else 4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4603$as_echo "no" >&6; } 4604fi 4605 4606 4607if test -z "$INTLTOOL_PERL"; then 4608 as_fn_error $? "perl not found" "$LINENO" 5 4609fi 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 4613if test $? -ne 0; then 4614 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 4615else 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; } 4619fi 4620if 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 4629fi 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) 4636if test -z "$DATADIRNAME"; then 4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4638/* end confdefs.h. */ 4639 4640int 4641main () 4642{ 4643extern int _nl_msg_cat_cntr; 4644 return _nl_msg_cat_cntr 4645 ; 4646 return 0; 4647} 4648_ACEOF 4649if ac_fn_c_try_link "$LINENO"; then : 4650 DATADIRNAME=share 4651else 4652 case $host in 4653 *-*-solaris*) 4654 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 4655if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 4656 DATADIRNAME=share 4657else 4658 DATADIRNAME=share 4659fi 4660 4661 ;; 4662 *) 4663 DATADIRNAME=share 4664 ;; 4665 esac 4666fi 4667rm -f core conftest.err conftest.$ac_objext \ 4668 conftest$ac_exeext conftest.$ac_ext 4669fi 4670 4671 4672 4673 4674 4675GETTEXT_PACKAGE=regexxer 4676 4677 4678ac_ext=c 4679ac_cpp='$CPP $CPPFLAGS' 4680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4682ac_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. 4686if test -n "$CPP" && test -d "$CPP"; then 4687 CPP= 4688fi 4689if test -z "$CPP"; then 4690 if ${ac_cv_prog_CPP+:} false; then : 4691 $as_echo_n "(cached) " >&6 4692else 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 4697for ac_c_preproc_warn_flag in '' yes 4698do 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 4714if ac_fn_c_try_cpp "$LINENO"; then : 4715 4716else 4717 # Broken: fails on valid input. 4718continue 4719fi 4720rm -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 4728if ac_fn_c_try_cpp "$LINENO"; then : 4729 # Broken: success on invalid input. 4730continue 4731else 4732 # Passes both tests. 4733ac_preproc_ok=: 4734break 4735fi 4736rm -f conftest.err conftest.i conftest.$ac_ext 4737 4738done 4739# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4740rm -f conftest.i conftest.err conftest.$ac_ext 4741if $ac_preproc_ok; then : 4742 break 4743fi 4744 4745 done 4746 ac_cv_prog_CPP=$CPP 4747 4748fi 4749 CPP=$ac_cv_prog_CPP 4750else 4751 ac_cv_prog_CPP=$CPP 4752fi 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4754$as_echo "$CPP" >&6; } 4755ac_preproc_ok=false 4756for ac_c_preproc_warn_flag in '' yes 4757do 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 4773if ac_fn_c_try_cpp "$LINENO"; then : 4774 4775else 4776 # Broken: fails on valid input. 4777continue 4778fi 4779rm -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 4787if ac_fn_c_try_cpp "$LINENO"; then : 4788 # Broken: success on invalid input. 4789continue 4790else 4791 # Passes both tests. 4792ac_preproc_ok=: 4793break 4794fi 4795rm -f conftest.err conftest.i conftest.$ac_ext 4796 4797done 4798# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4799rm -f conftest.i conftest.err conftest.$ac_ext 4800if $ac_preproc_ok; then : 4801 4802else 4803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4805as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4806See \`config.log' for more details" "$LINENO" 5; } 4807fi 4808 4809ac_ext=c 4810ac_cpp='$CPP $CPPFLAGS' 4811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4813ac_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; } 4818if ${ac_cv_path_GREP+:} false; then : 4819 $as_echo_n "(cached) " >&6 4820else 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 4825for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4826do 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 4835case `"$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;; 4859esac 4860 4861 $ac_path_GREP_found && break 3 4862 done 4863 done 4864 done 4865IFS=$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 4869else 4870 ac_cv_path_GREP=$GREP 4871fi 4872 4873fi 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; } 4881if ${ac_cv_path_EGREP+:} false; then : 4882 $as_echo_n "(cached) " >&6 4883else 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 4891for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4892do 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 4901case `"$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;; 4925esac 4926 4927 $ac_path_EGREP_found && break 3 4928 done 4929 done 4930 done 4931IFS=$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 4935else 4936 ac_cv_path_EGREP=$EGREP 4937fi 4938 4939 fi 4940fi 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; } 4948if ${ac_cv_header_stdc+:} false; then : 4949 $as_echo_n "(cached) " >&6 4950else 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 4958int 4959main () 4960{ 4961 4962 ; 4963 return 0; 4964} 4965_ACEOF 4966if ac_fn_c_try_compile "$LINENO"; then : 4967 ac_cv_header_stdc=yes 4968else 4969 ac_cv_header_stdc=no 4970fi 4971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4972 4973if 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 4980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4981 $EGREP "memchr" >/dev/null 2>&1; then : 4982 4983else 4984 ac_cv_header_stdc=no 4985fi 4986rm -f conftest* 4987 4988fi 4989 4990if 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 4997if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4998 $EGREP "free" >/dev/null 2>&1; then : 4999 5000else 5001 ac_cv_header_stdc=no 5002fi 5003rm -f conftest* 5004 5005fi 5006 5007if 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 : 5011else 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))) 5028int 5029main () 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 5039if ac_fn_c_try_run "$LINENO"; then : 5040 5041else 5042 ac_cv_header_stdc=no 5043fi 5044rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5045 conftest.$ac_objext conftest.beam conftest.$ac_ext 5046fi 5047 5048fi 5049fi 5050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5051$as_echo "$ac_cv_header_stdc" >&6; } 5052if test $ac_cv_header_stdc = yes; then 5053 5054$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5055 5056fi 5057 5058# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5059for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5060 inttypes.h stdint.h unistd.h 5061do : 5062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5063ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5064" 5065if 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 5070fi 5071 5072done 5073 5074 5075 5076 for ac_header in locale.h 5077do : 5078 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 5079if test "x$ac_cv_header_locale_h" = xyes; then : 5080 cat >>confdefs.h <<_ACEOF 5081#define HAVE_LOCALE_H 1 5082_ACEOF 5083 5084fi 5085 5086done 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; } 5091if ${am_cv_val_LC_MESSAGES+:} false; then : 5092 $as_echo_n "(cached) " >&6 5093else 5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5095/* end confdefs.h. */ 5096#include <locale.h> 5097int 5098main () 5099{ 5100return LC_MESSAGES 5101 ; 5102 return 0; 5103} 5104_ACEOF 5105if ac_fn_c_try_link "$LINENO"; then : 5106 am_cv_val_LC_MESSAGES=yes 5107else 5108 am_cv_val_LC_MESSAGES=no 5109fi 5110rm -f core conftest.err conftest.$ac_objext \ 5111 conftest$ac_exeext conftest.$ac_ext 5112fi 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" 5131if 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; } 5140if ${gt_cv_func_ngettext_libc+:} false; then : 5141 $as_echo_n "(cached) " >&6 5142else 5143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5144/* end confdefs.h. */ 5145 5146#include <libintl.h> 5147 5148int 5149main () 5150{ 5151return !ngettext ("","", 1) 5152 ; 5153 return 0; 5154} 5155_ACEOF 5156if ac_fn_c_try_link "$LINENO"; then : 5157 gt_cv_func_ngettext_libc=yes 5158else 5159 gt_cv_func_ngettext_libc=no 5160fi 5161rm -f core conftest.err conftest.$ac_objext \ 5162 conftest$ac_exeext conftest.$ac_ext 5163 5164fi 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; } 5171if ${gt_cv_func_dgettext_libc+:} false; then : 5172 $as_echo_n "(cached) " >&6 5173else 5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5175/* end confdefs.h. */ 5176 5177#include <libintl.h> 5178 5179int 5180main () 5181{ 5182return !dgettext ("","") 5183 ; 5184 return 0; 5185} 5186_ACEOF 5187if ac_fn_c_try_link "$LINENO"; then : 5188 gt_cv_func_dgettext_libc=yes 5189else 5190 gt_cv_func_dgettext_libc=no 5191fi 5192rm -f core conftest.err conftest.$ac_objext \ 5193 conftest$ac_exeext conftest.$ac_ext 5194 5195fi 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 5202do : 5203 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5204if 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 5209fi 5210done 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; } 5223if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 5224 $as_echo_n "(cached) " >&6 5225else 5226 ac_check_lib_save_LIBS=$LIBS 5227LIBS="-lintl $LIBS" 5228cat 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 5235extern "C" 5236#endif 5237char bindtextdomain (); 5238int 5239main () 5240{ 5241return bindtextdomain (); 5242 ; 5243 return 0; 5244} 5245_ACEOF 5246if ac_fn_c_try_link "$LINENO"; then : 5247 ac_cv_lib_intl_bindtextdomain=yes 5248else 5249 ac_cv_lib_intl_bindtextdomain=no 5250fi 5251rm -f core conftest.err conftest.$ac_objext \ 5252 conftest$ac_exeext conftest.$ac_ext 5253LIBS=$ac_check_lib_save_LIBS 5254fi 5255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 5256$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 5257if 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; } 5260if ${ac_cv_lib_intl_ngettext+:} false; then : 5261 $as_echo_n "(cached) " >&6 5262else 5263 ac_check_lib_save_LIBS=$LIBS 5264LIBS="-lintl $LIBS" 5265cat 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 5272extern "C" 5273#endif 5274char ngettext (); 5275int 5276main () 5277{ 5278return ngettext (); 5279 ; 5280 return 0; 5281} 5282_ACEOF 5283if ac_fn_c_try_link "$LINENO"; then : 5284 ac_cv_lib_intl_ngettext=yes 5285else 5286 ac_cv_lib_intl_ngettext=no 5287fi 5288rm -f core conftest.err conftest.$ac_objext \ 5289 conftest$ac_exeext conftest.$ac_ext 5290LIBS=$ac_check_lib_save_LIBS 5291fi 5292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5293$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5294if 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; } 5297if ${ac_cv_lib_intl_dgettext+:} false; then : 5298 $as_echo_n "(cached) " >&6 5299else 5300 ac_check_lib_save_LIBS=$LIBS 5301LIBS="-lintl $LIBS" 5302cat 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 5309extern "C" 5310#endif 5311char dgettext (); 5312int 5313main () 5314{ 5315return dgettext (); 5316 ; 5317 return 0; 5318} 5319_ACEOF 5320if ac_fn_c_try_link "$LINENO"; then : 5321 ac_cv_lib_intl_dgettext=yes 5322else 5323 ac_cv_lib_intl_dgettext=no 5324fi 5325rm -f core conftest.err conftest.$ac_objext \ 5326 conftest$ac_exeext conftest.$ac_ext 5327LIBS=$ac_check_lib_save_LIBS 5328fi 5329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 5330$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 5331if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 5332 gt_cv_func_dgettext_libintl=yes 5333fi 5334 5335fi 5336 5337fi 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; } 5347if ${ac_cv_lib_intl_ngettext+:} false; then : 5348 $as_echo_n "(cached) " >&6 5349else 5350 ac_check_lib_save_LIBS=$LIBS 5351LIBS="-lintl -liconv $LIBS" 5352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5353/* end confdefs.h. */ 5354 5355/* Override any GCC internal prototype to avoid an error. 5356 Use char because int might match the return type of a GCC 5357 builtin and then its argument prototype would still apply. */ 5358#ifdef __cplusplus 5359extern "C" 5360#endif 5361char ngettext (); 5362int 5363main () 5364{ 5365return ngettext (); 5366 ; 5367 return 0; 5368} 5369_ACEOF 5370if ac_fn_c_try_link "$LINENO"; then : 5371 ac_cv_lib_intl_ngettext=yes 5372else 5373 ac_cv_lib_intl_ngettext=no 5374fi 5375rm -f core conftest.err conftest.$ac_objext \ 5376 conftest$ac_exeext conftest.$ac_ext 5377LIBS=$ac_check_lib_save_LIBS 5378fi 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5380$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5381if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 5383$as_echo_n "checking for dcgettext in -lintl... " >&6; } 5384if ${ac_cv_lib_intl_dcgettext+:} false; then : 5385 $as_echo_n "(cached) " >&6 5386else 5387 ac_check_lib_save_LIBS=$LIBS 5388LIBS="-lintl -liconv $LIBS" 5389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5390/* end confdefs.h. */ 5391 5392/* Override any GCC internal prototype to avoid an error. 5393 Use char because int might match the return type of a GCC 5394 builtin and then its argument prototype would still apply. */ 5395#ifdef __cplusplus 5396extern "C" 5397#endif 5398char dcgettext (); 5399int 5400main () 5401{ 5402return dcgettext (); 5403 ; 5404 return 0; 5405} 5406_ACEOF 5407if ac_fn_c_try_link "$LINENO"; then : 5408 ac_cv_lib_intl_dcgettext=yes 5409else 5410 ac_cv_lib_intl_dcgettext=no 5411fi 5412rm -f core conftest.err conftest.$ac_objext \ 5413 conftest$ac_exeext conftest.$ac_ext 5414LIBS=$ac_check_lib_save_LIBS 5415fi 5416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 5417$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 5418if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 5419 gt_cv_func_dgettext_libintl=yes 5420 libintl_extra_libs=-liconv 5421else 5422 : 5423fi 5424 5425else 5426 : 5427fi 5428 5429 fi 5430 5431 # 5432 # If we found libintl, then check in it for bind_textdomain_codeset(); 5433 # we'll prefer libc if neither have bind_textdomain_codeset(), 5434 # and both have dgettext and ngettext 5435 # 5436 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 5437 glib_save_LIBS="$LIBS" 5438 LIBS="$LIBS -lintl $libintl_extra_libs" 5439 unset ac_cv_func_bind_textdomain_codeset 5440 for ac_func in bind_textdomain_codeset 5441do : 5442 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5443if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5444 cat >>confdefs.h <<_ACEOF 5445#define HAVE_BIND_TEXTDOMAIN_CODESET 1 5446_ACEOF 5447 5448fi 5449done 5450 5451 LIBS="$glib_save_LIBS" 5452 5453 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 5454 gt_cv_func_dgettext_libc=no 5455 else 5456 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5457 && test "$gt_cv_func_ngettext_libc" = "yes"; then 5458 gt_cv_func_dgettext_libintl=no 5459 fi 5460 fi 5461 fi 5462 fi 5463 5464 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5465 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 5466 gt_cv_have_gettext=yes 5467 fi 5468 5469 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 5470 INTLLIBS="-lintl $libintl_extra_libs" 5471 fi 5472 5473 if test "$gt_cv_have_gettext" = "yes"; then 5474 5475$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 5476 5477 # Extract the first word of "msgfmt", so it can be a program name with args. 5478set dummy msgfmt; ac_word=$2 5479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5480$as_echo_n "checking for $ac_word... " >&6; } 5481if ${ac_cv_path_MSGFMT+:} false; then : 5482 $as_echo_n "(cached) " >&6 5483else 5484 case "$MSGFMT" in 5485 /*) 5486 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5487 ;; 5488 *) 5489 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5490 for ac_dir in $PATH; do 5491 test -z "$ac_dir" && ac_dir=. 5492 if test -f $ac_dir/$ac_word; then 5493 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 5494 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 5495 break 5496 fi 5497 fi 5498 done 5499 IFS="$ac_save_ifs" 5500 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 5501 ;; 5502esac 5503fi 5504MSGFMT="$ac_cv_path_MSGFMT" 5505if test "$MSGFMT" != "no"; then 5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5507$as_echo "$MSGFMT" >&6; } 5508else 5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5510$as_echo "no" >&6; } 5511fi 5512 if test "$MSGFMT" != "no"; then 5513 glib_save_LIBS="$LIBS" 5514 LIBS="$LIBS $INTLLIBS" 5515 for ac_func in dcgettext 5516do : 5517 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 5518if test "x$ac_cv_func_dcgettext" = xyes; then : 5519 cat >>confdefs.h <<_ACEOF 5520#define HAVE_DCGETTEXT 1 5521_ACEOF 5522 5523fi 5524done 5525 5526 MSGFMT_OPTS= 5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 5528$as_echo_n "checking if msgfmt accepts -c... " >&6; } 5529 cat >conftest.foo <<_ACEOF 5530 5531msgid "" 5532msgstr "" 5533"Content-Type: text/plain; charset=UTF-8\n" 5534"Project-Id-Version: test 1.0\n" 5535"PO-Revision-Date: 2007-02-15 12:01+0100\n" 5536"Last-Translator: test <foo@bar.xx>\n" 5537"Language-Team: C <LL@li.org>\n" 5538"MIME-Version: 1.0\n" 5539"Content-Transfer-Encoding: 8bit\n" 5540 5541_ACEOF 5542if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 5543 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 5544 ac_status=$? 5545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5546 test $ac_status = 0; }; then 5547 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5548$as_echo "yes" >&6; } 5549else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5550$as_echo "no" >&6; } 5551echo "$as_me: failed input was:" >&5 5552sed 's/^/| /' conftest.foo >&5 5553fi 5554 5555 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5556set dummy gmsgfmt; ac_word=$2 5557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5558$as_echo_n "checking for $ac_word... " >&6; } 5559if ${ac_cv_path_GMSGFMT+:} false; then : 5560 $as_echo_n "(cached) " >&6 5561else 5562 case $GMSGFMT in 5563 [\\/]* | ?:[\\/]*) 5564 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5565 ;; 5566 *) 5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5568for as_dir in $PATH 5569do 5570 IFS=$as_save_IFS 5571 test -z "$as_dir" && as_dir=. 5572 for ac_exec_ext in '' $ac_executable_extensions; do 5573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5574 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5576 break 2 5577 fi 5578done 5579 done 5580IFS=$as_save_IFS 5581 5582 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5583 ;; 5584esac 5585fi 5586GMSGFMT=$ac_cv_path_GMSGFMT 5587if test -n "$GMSGFMT"; then 5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5589$as_echo "$GMSGFMT" >&6; } 5590else 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5592$as_echo "no" >&6; } 5593fi 5594 5595 5596 # Extract the first word of "xgettext", so it can be a program name with args. 5597set dummy xgettext; ac_word=$2 5598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5599$as_echo_n "checking for $ac_word... " >&6; } 5600if ${ac_cv_path_XGETTEXT+:} false; then : 5601 $as_echo_n "(cached) " >&6 5602else 5603 case "$XGETTEXT" in 5604 /*) 5605 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5606 ;; 5607 *) 5608 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5609 for ac_dir in $PATH; do 5610 test -z "$ac_dir" && ac_dir=. 5611 if test -f $ac_dir/$ac_word; then 5612 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 5613 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 5614 break 5615 fi 5616 fi 5617 done 5618 IFS="$ac_save_ifs" 5619 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5620 ;; 5621esac 5622fi 5623XGETTEXT="$ac_cv_path_XGETTEXT" 5624if test "$XGETTEXT" != ":"; then 5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5626$as_echo "$XGETTEXT" >&6; } 5627else 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5629$as_echo "no" >&6; } 5630fi 5631 5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5633/* end confdefs.h. */ 5634 5635int 5636main () 5637{ 5638extern int _nl_msg_cat_cntr; 5639 return _nl_msg_cat_cntr 5640 ; 5641 return 0; 5642} 5643_ACEOF 5644if ac_fn_c_try_link "$LINENO"; then : 5645 CATOBJEXT=.gmo 5646 DATADIRNAME=share 5647else 5648 case $host in 5649 *-*-solaris*) 5650 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5651if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5652 CATOBJEXT=.gmo 5653 DATADIRNAME=share 5654else 5655 CATOBJEXT=.mo 5656 DATADIRNAME=share 5657fi 5658 5659 ;; 5660 *) 5661 CATOBJEXT=.mo 5662 DATADIRNAME=share 5663 ;; 5664 esac 5665fi 5666rm -f core conftest.err conftest.$ac_objext \ 5667 conftest$ac_exeext conftest.$ac_ext 5668 LIBS="$glib_save_LIBS" 5669 INSTOBJEXT=.mo 5670 else 5671 gt_cv_have_gettext=no 5672 fi 5673 fi 5674 5675fi 5676 5677 5678 5679 if test "$gt_cv_have_gettext" = "yes" ; then 5680 5681$as_echo "#define ENABLE_NLS 1" >>confdefs.h 5682 5683 fi 5684 5685 if test "$XGETTEXT" != ":"; then 5686 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5687 : ; 5688 else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 5690$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 5691 XGETTEXT=":" 5692 fi 5693 fi 5694 5695 # We need to process the po/ directory. 5696 POSUB=po 5697 5698 ac_config_commands="$ac_config_commands default-1" 5699 5700 5701 for lang in $ALL_LINGUAS; do 5702 GMOFILES="$GMOFILES $lang.gmo" 5703 POFILES="$POFILES $lang.po" 5704 done 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 if test "$gt_cv_have_gettext" = "yes"; then 5719 if test "x$ALL_LINGUAS" = "x"; then 5720 LINGUAS= 5721 else 5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5723$as_echo_n "checking for catalogs to be installed... " >&6; } 5724 NEW_LINGUAS= 5725 for presentlang in $ALL_LINGUAS; do 5726 useit=no 5727 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 5728 desiredlanguages="$LINGUAS" 5729 else 5730 desiredlanguages="$ALL_LINGUAS" 5731 fi 5732 for desiredlang in $desiredlanguages; do 5733 # Use the presentlang catalog if desiredlang is 5734 # a. equal to presentlang, or 5735 # b. a variant of presentlang (because in this case, 5736 # presentlang can be used as a fallback for messages 5737 # which are not translated in the desiredlang catalog). 5738 case "$desiredlang" in 5739 "$presentlang"*) useit=yes;; 5740 esac 5741 done 5742 if test $useit = yes; then 5743 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 5744 fi 5745 done 5746 LINGUAS=$NEW_LINGUAS 5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5748$as_echo "$LINGUAS" >&6; } 5749 fi 5750 5751 if test -n "$LINGUAS"; then 5752 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5753 fi 5754 fi 5755 5756 MKINSTALLDIRS= 5757 if test -n "$ac_aux_dir"; then 5758 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 5759 fi 5760 if test -z "$MKINSTALLDIRS"; then 5761 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5762 fi 5763 5764 5765 test -d po || mkdir po 5766 if test "x$srcdir" != "x."; then 5767 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5768 posrcprefix="$srcdir/" 5769 else 5770 posrcprefix="../$srcdir/" 5771 fi 5772 else 5773 posrcprefix="../" 5774 fi 5775 rm -f po/POTFILES 5776 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5777 < $srcdir/po/POTFILES.in > po/POTFILES 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5788 if test -n "$ac_tool_prefix"; then 5789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5790set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5792$as_echo_n "checking for $ac_word... " >&6; } 5793if ${ac_cv_path_PKG_CONFIG+:} false; then : 5794 $as_echo_n "(cached) " >&6 5795else 5796 case $PKG_CONFIG in 5797 [\\/]* | ?:[\\/]*) 5798 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5799 ;; 5800 *) 5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5802for as_dir in $PATH 5803do 5804 IFS=$as_save_IFS 5805 test -z "$as_dir" && as_dir=. 5806 for ac_exec_ext in '' $ac_executable_extensions; do 5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5808 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5810 break 2 5811 fi 5812done 5813 done 5814IFS=$as_save_IFS 5815 5816 ;; 5817esac 5818fi 5819PKG_CONFIG=$ac_cv_path_PKG_CONFIG 5820if test -n "$PKG_CONFIG"; then 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 5822$as_echo "$PKG_CONFIG" >&6; } 5823else 5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5825$as_echo "no" >&6; } 5826fi 5827 5828 5829fi 5830if test -z "$ac_cv_path_PKG_CONFIG"; then 5831 ac_pt_PKG_CONFIG=$PKG_CONFIG 5832 # Extract the first word of "pkg-config", so it can be a program name with args. 5833set dummy pkg-config; ac_word=$2 5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5835$as_echo_n "checking for $ac_word... " >&6; } 5836if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 5837 $as_echo_n "(cached) " >&6 5838else 5839 case $ac_pt_PKG_CONFIG in 5840 [\\/]* | ?:[\\/]*) 5841 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5842 ;; 5843 *) 5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5845for as_dir in $PATH 5846do 5847 IFS=$as_save_IFS 5848 test -z "$as_dir" && as_dir=. 5849 for ac_exec_ext in '' $ac_executable_extensions; do 5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5851 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5853 break 2 5854 fi 5855done 5856 done 5857IFS=$as_save_IFS 5858 5859 ;; 5860esac 5861fi 5862ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5863if test -n "$ac_pt_PKG_CONFIG"; then 5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 5865$as_echo "$ac_pt_PKG_CONFIG" >&6; } 5866else 5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5868$as_echo "no" >&6; } 5869fi 5870 5871 if test "x$ac_pt_PKG_CONFIG" = x; then 5872 PKG_CONFIG="" 5873 else 5874 case $cross_compiling:$ac_tool_warned in 5875yes:) 5876{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5877$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5878ac_tool_warned=yes ;; 5879esac 5880 PKG_CONFIG=$ac_pt_PKG_CONFIG 5881 fi 5882else 5883 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5884fi 5885 5886fi 5887if test -n "$PKG_CONFIG"; then 5888 _pkg_min_version=0.9.0 5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 5890$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 5891 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5893$as_echo "yes" >&6; } 5894 else 5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5896$as_echo "no" >&6; } 5897 PKG_CONFIG="" 5898 fi 5899fi 5900 5901pkg_failed=no 5902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REGEXXER_MODULES" >&5 5903$as_echo_n "checking for REGEXXER_MODULES... " >&6; } 5904 5905if test -n "$REGEXXER_MODULES_CFLAGS"; then 5906 pkg_cv_REGEXXER_MODULES_CFLAGS="$REGEXXER_MODULES_CFLAGS" 5907 elif test -n "$PKG_CONFIG"; then 5908 if test -n "$PKG_CONFIG" && \ 5909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5910 gtksourceviewmm-3.0 >= 2.91.5\""; } >&5 5911 ($PKG_CONFIG --exists --print-errors "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5912 gtksourceviewmm-3.0 >= 2.91.5") 2>&5 5913 ac_status=$? 5914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5915 test $ac_status = 0; }; then 5916 pkg_cv_REGEXXER_MODULES_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5917 gtksourceviewmm-3.0 >= 2.91.5" 2>/dev/null` 5918 test "x$?" != "x0" && pkg_failed=yes 5919else 5920 pkg_failed=yes 5921fi 5922 else 5923 pkg_failed=untried 5924fi 5925if test -n "$REGEXXER_MODULES_LIBS"; then 5926 pkg_cv_REGEXXER_MODULES_LIBS="$REGEXXER_MODULES_LIBS" 5927 elif test -n "$PKG_CONFIG"; then 5928 if test -n "$PKG_CONFIG" && \ 5929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5930 gtksourceviewmm-3.0 >= 2.91.5\""; } >&5 5931 ($PKG_CONFIG --exists --print-errors "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5932 gtksourceviewmm-3.0 >= 2.91.5") 2>&5 5933 ac_status=$? 5934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5935 test $ac_status = 0; }; then 5936 pkg_cv_REGEXXER_MODULES_LIBS=`$PKG_CONFIG --libs "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5937 gtksourceviewmm-3.0 >= 2.91.5" 2>/dev/null` 5938 test "x$?" != "x0" && pkg_failed=yes 5939else 5940 pkg_failed=yes 5941fi 5942 else 5943 pkg_failed=untried 5944fi 5945 5946 5947 5948if test $pkg_failed = yes; then 5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5950$as_echo "no" >&6; } 5951 5952if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5953 _pkg_short_errors_supported=yes 5954else 5955 _pkg_short_errors_supported=no 5956fi 5957 if test $_pkg_short_errors_supported = yes; then 5958 REGEXXER_MODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5959 gtksourceviewmm-3.0 >= 2.91.5" 2>&1` 5960 else 5961 REGEXXER_MODULES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5962 gtksourceviewmm-3.0 >= 2.91.5" 2>&1` 5963 fi 5964 # Put the nasty error message in config.log where it belongs 5965 echo "$REGEXXER_MODULES_PKG_ERRORS" >&5 5966 5967 as_fn_error $? "Package requirements (gtkmm-3.0 >= 3.0.0 glibmm-2.4 >= 2.27.94 5968 gtksourceviewmm-3.0 >= 2.91.5) were not met: 5969 5970$REGEXXER_MODULES_PKG_ERRORS 5971 5972Consider adjusting the PKG_CONFIG_PATH environment variable if you 5973installed software in a non-standard prefix. 5974 5975Alternatively, you may set the environment variables REGEXXER_MODULES_CFLAGS 5976and REGEXXER_MODULES_LIBS to avoid the need to call pkg-config. 5977See the pkg-config man page for more details." "$LINENO" 5 5978elif test $pkg_failed = untried; then 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5980$as_echo "no" >&6; } 5981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5982$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5983as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 5984is in your PATH or set the PKG_CONFIG environment variable to the full 5985path to pkg-config. 5986 5987Alternatively, you may set the environment variables REGEXXER_MODULES_CFLAGS 5988and REGEXXER_MODULES_LIBS to avoid the need to call pkg-config. 5989See the pkg-config man page for more details. 5990 5991To get pkg-config, see <http://pkg-config.freedesktop.org/>. 5992See \`config.log' for more details" "$LINENO" 5; } 5993else 5994 REGEXXER_MODULES_CFLAGS=$pkg_cv_REGEXXER_MODULES_CFLAGS 5995 REGEXXER_MODULES_LIBS=$pkg_cv_REGEXXER_MODULES_LIBS 5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5997$as_echo "yes" >&6; } 5998 5999fi 6000 6001dk_pkg_prefix=`$PKG_CONFIG --variable=exec_prefix "gdk-pixbuf-2.0" 2>&5` 6002 6003if test "x$dk_pkg_prefix" = x; then : 6004 dk_pkg_path=$PATH 6005else 6006 dk_pkg_path=$dk_pkg_prefix/bin$PATH_SEPARATOR$PATH 6007fi 6008 6009# Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args. 6010set dummy gdk-pixbuf-csource; ac_word=$2 6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6012$as_echo_n "checking for $ac_word... " >&6; } 6013if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then : 6014 $as_echo_n "(cached) " >&6 6015else 6016 case $GDK_PIXBUF_CSOURCE in 6017 [\\/]* | ?:[\\/]*) 6018 ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path. 6019 ;; 6020 *) 6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6022for as_dir in $dk_pkg_path 6023do 6024 IFS=$as_save_IFS 6025 test -z "$as_dir" && as_dir=. 6026 for ac_exec_ext in '' $ac_executable_extensions; do 6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6028 ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext" 6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6030 break 2 6031 fi 6032done 6033 done 6034IFS=$as_save_IFS 6035 6036 ;; 6037esac 6038fi 6039GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE 6040if test -n "$GDK_PIXBUF_CSOURCE"; then 6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5 6042$as_echo "$GDK_PIXBUF_CSOURCE" >&6; } 6043else 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6045$as_echo "no" >&6; } 6046fi 6047 6048 6049 6050if test "x$GDK_PIXBUF_CSOURCE" = x; then : 6051 as_fn_error $? " 6052Oops, could not find \"gdk-pixbuf-csource\". This program is 6053normally included with the gdk-pixbuf-2.0 package. Please make sure 6054that your installation of gdk-pixbuf-2.0 is set up correctly. 6055" "$LINENO" 5 6056fi 6057 6058dk_pkg_prefix=`$PKG_CONFIG --variable=exec_prefix "gtk+-2.0" 2>&5` 6059 6060if test "x$dk_pkg_prefix" = x; then : 6061 dk_pkg_path=$PATH 6062else 6063 dk_pkg_path=$dk_pkg_prefix/bin$PATH_SEPARATOR$PATH 6064fi 6065 6066# Extract the first word of "gtk-update-icon-cache", so it can be a program name with args. 6067set dummy gtk-update-icon-cache; ac_word=$2 6068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6069$as_echo_n "checking for $ac_word... " >&6; } 6070if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then : 6071 $as_echo_n "(cached) " >&6 6072else 6073 case $GTK_UPDATE_ICON_CACHE in 6074 [\\/]* | ?:[\\/]*) 6075 ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path. 6076 ;; 6077 *) 6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6079for as_dir in $dk_pkg_path 6080do 6081 IFS=$as_save_IFS 6082 test -z "$as_dir" && as_dir=. 6083 for ac_exec_ext in '' $ac_executable_extensions; do 6084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6085 ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext" 6086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6087 break 2 6088 fi 6089done 6090 done 6091IFS=$as_save_IFS 6092 6093 ;; 6094esac 6095fi 6096GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE 6097if test -n "$GTK_UPDATE_ICON_CACHE"; then 6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5 6099$as_echo "$GTK_UPDATE_ICON_CACHE" >&6; } 6100else 6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6102$as_echo "no" >&6; } 6103fi 6104 6105 6106 6107if test "x$GTK_UPDATE_ICON_CACHE" = x; then : 6108 as_fn_error $? " 6109Oops, could not find \"gtk-update-icon-cache\". This program is 6110normally included with the gtk+-2.0 package. Please make sure 6111that your installation of gtk+-2.0 is set up correctly. 6112" "$LINENO" 5 6113fi 6114 6115 6116 6117 6118 # Check whether --enable-schemas-compile was given. 6119if test "${enable_schemas_compile+set}" = set; then : 6120 enableval=$enable_schemas_compile; case ${enableval} in 6121 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 6122 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 6123 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;; 6124 esac 6125fi 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6136 if test -n "$ac_tool_prefix"; then 6137 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6138set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6140$as_echo_n "checking for $ac_word... " >&6; } 6141if ${ac_cv_path_PKG_CONFIG+:} false; then : 6142 $as_echo_n "(cached) " >&6 6143else 6144 case $PKG_CONFIG in 6145 [\\/]* | ?:[\\/]*) 6146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6147 ;; 6148 *) 6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6150for as_dir in $PATH 6151do 6152 IFS=$as_save_IFS 6153 test -z "$as_dir" && as_dir=. 6154 for ac_exec_ext in '' $ac_executable_extensions; do 6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6158 break 2 6159 fi 6160done 6161 done 6162IFS=$as_save_IFS 6163 6164 ;; 6165esac 6166fi 6167PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6168if test -n "$PKG_CONFIG"; then 6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6170$as_echo "$PKG_CONFIG" >&6; } 6171else 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6173$as_echo "no" >&6; } 6174fi 6175 6176 6177fi 6178if test -z "$ac_cv_path_PKG_CONFIG"; then 6179 ac_pt_PKG_CONFIG=$PKG_CONFIG 6180 # Extract the first word of "pkg-config", so it can be a program name with args. 6181set dummy pkg-config; ac_word=$2 6182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6183$as_echo_n "checking for $ac_word... " >&6; } 6184if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 6185 $as_echo_n "(cached) " >&6 6186else 6187 case $ac_pt_PKG_CONFIG in 6188 [\\/]* | ?:[\\/]*) 6189 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6190 ;; 6191 *) 6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6193for as_dir in $PATH 6194do 6195 IFS=$as_save_IFS 6196 test -z "$as_dir" && as_dir=. 6197 for ac_exec_ext in '' $ac_executable_extensions; do 6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6199 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6201 break 2 6202 fi 6203done 6204 done 6205IFS=$as_save_IFS 6206 6207 ;; 6208esac 6209fi 6210ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6211if test -n "$ac_pt_PKG_CONFIG"; then 6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6213$as_echo "$ac_pt_PKG_CONFIG" >&6; } 6214else 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6216$as_echo "no" >&6; } 6217fi 6218 6219 if test "x$ac_pt_PKG_CONFIG" = x; then 6220 PKG_CONFIG="" 6221 else 6222 case $cross_compiling:$ac_tool_warned in 6223yes:) 6224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6226ac_tool_warned=yes ;; 6227esac 6228 PKG_CONFIG=$ac_pt_PKG_CONFIG 6229 fi 6230else 6231 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6232fi 6233 6234fi 6235if test -n "$PKG_CONFIG"; then 6236 _pkg_min_version=0.16 6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6238$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6239 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6241$as_echo "yes" >&6; } 6242 else 6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6244$as_echo "no" >&6; } 6245 PKG_CONFIG="" 6246 fi 6247fi 6248 gsettingsschemadir=${datadir}/glib-2.0/schemas 6249 6250 if test x$cross_compiling != xyes; then 6251 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` 6252 else 6253 # Extract the first word of "glib-compile-schemas", so it can be a program name with args. 6254set dummy glib-compile-schemas; ac_word=$2 6255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6256$as_echo_n "checking for $ac_word... " >&6; } 6257if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then : 6258 $as_echo_n "(cached) " >&6 6259else 6260 case $GLIB_COMPILE_SCHEMAS in 6261 [\\/]* | ?:[\\/]*) 6262 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path. 6263 ;; 6264 *) 6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6266for as_dir in $PATH 6267do 6268 IFS=$as_save_IFS 6269 test -z "$as_dir" && as_dir=. 6270 for ac_exec_ext in '' $ac_executable_extensions; do 6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6272 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext" 6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6274 break 2 6275 fi 6276done 6277 done 6278IFS=$as_save_IFS 6279 6280 ;; 6281esac 6282fi 6283GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS 6284if test -n "$GLIB_COMPILE_SCHEMAS"; then 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5 6286$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; } 6287else 6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6289$as_echo "no" >&6; } 6290fi 6291 6292 6293 fi 6294 6295 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 6296 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5 6297 else 6298 : 6299 fi 6300 6301 GSETTINGS_RULES=' 6302.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 6303 6304mostlyclean-am: clean-gsettings-schemas 6305 6306gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 6307 6308%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 6309 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@ 6310 6311all-am: $(gsettings_SCHEMAS:.xml=.valid) 6312uninstall-am: uninstall-gsettings-schemas 6313install-data-am: install-gsettings-schemas 6314 6315.SECONDARY: $(gsettings_SCHEMAS) 6316 6317install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 6318 @$(NORMAL_INSTALL) 6319 if test -n "$^"; then \ 6320 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 6321 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 6322 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 6323 fi 6324 6325uninstall-gsettings-schemas: 6326 @$(NORMAL_UNINSTALL) 6327 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 6328 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 6329 test -n "$$files" || exit 0; \ 6330 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 6331 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 6332 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 6333 6334clean-gsettings-schemas: 6335 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 6336 6337ifdef gsettings_ENUM_NAMESPACE 6338$(gsettings__enum_file): $(gsettings_ENUM_FILES) 6339 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@ 6340endif 6341' 6342 6343 6344 6345 6346 6347 6348 6349ac_ext=cpp 6350ac_cpp='$CXXCPP $CPPFLAGS' 6351ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6352ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6353ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6354 6355 6356# Check whether --enable-warnings was given. 6357if test "${enable_warnings+set}" = set; then : 6358 enableval=$enable_warnings; dk_enable_warnings=$enableval 6359else 6360 dk_enable_warnings=min 6361fi 6362 6363dk_lang= 6364case $ac_compile in 6365 *'$CXXFLAGS '*) 6366 dk_lang='C++' 6367 dk_cc=$CXX 6368 dk_conftest=conftest.${ac_ext-cc} 6369 ;; 6370 *'$CFLAGS '*) 6371 dk_lang=C 6372 dk_cc=$CC 6373 dk_conftest=conftest.${ac_ext-c} 6374 ;; 6375esac 6376 6377if test "x$dk_lang" != x; then : 6378 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $dk_lang compiler warning flags to use" >&5 6380$as_echo_n "checking which $dk_lang compiler warning flags to use... " >&6; } 6381 6382 case $dk_enable_warnings in 6383 no) dk_warning_flags=;; 6384 max) dk_warning_flags="-pedantic -Wall -Wextra -w1 -Wno-long-long";; 6385 fatal) dk_warning_flags="-pedantic -Wall -Wextra -w1 -Wno-long-long -Werror";; 6386 *) dk_warning_flags="-Wall -w1 -Wno-long-long";; 6387 esac 6388 6389 dk_deprecation_flags= 6390 6391 if test "x$dk_enable_warnings" = xfatal; then : 6392 6393 dk_deprecation_prefixes="G GDK GTK PANGO ATK GLIBMM GDKMM ATKMM GTKMM" 6394 for dk_prefix in $dk_deprecation_prefixes 6395 do 6396 dk_deprecation_flags="${dk_deprecation_flags}-D${dk_prefix}_DISABLE_DEPRECATED " 6397 done 6398 6399fi 6400 dk_tested_flags= 6401 6402 if test "x$dk_warning_flags" != x; then : 6403 6404 # Keep in mind that the dummy source must be devoid of any 6405 # problems that might cause diagnostics. 6406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6407/* end confdefs.h. */ 6408int main(int argc, char** argv) { return (argv != 0) ? argc : 0; } 6409_ACEOF 6410 6411 for dk_flag in $dk_warning_flags 6412 do 6413 # Test whether the compiler accepts the flag. GCC doesn't bail 6414 # out when given an unsupported flag but prints a warning, so 6415 # check the compiler output instead. 6416 dk_cc_out=`$dk_cc $dk_tested_flags $dk_flag -c "$dk_conftest" 2>&1 || echo failed` 6417 rm -f "conftest.${OBJEXT-o}" 6418 6419 if test "x$dk_cc_out" = x; then : 6420 6421 if test "x$dk_tested_flags" = x; then : 6422 dk_tested_flags=$dk_flag 6423else 6424 dk_tested_flags="$dk_tested_flags $dk_flag" 6425fi 6426 6427else 6428 6429 echo "$dk_cc_out" >&5 6430 6431fi 6432 done 6433 6434 rm -f "$dk_conftest" 6435 6436fi 6437 dk_all_flags=$dk_deprecation_flags$dk_tested_flags 6438 REGEXXER_WARNING_FLAGS=$dk_all_flags 6439 6440 6441 test "x$dk_all_flags" != x || dk_all_flags=none 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dk_all_flags" >&5 6443$as_echo "$dk_all_flags" >&6; } 6444 6445fi 6446 6447 6448ac_config_files="$ac_config_files Makefile po/Makefile.in" 6449 6450cat >confcache <<\_ACEOF 6451# This file is a shell script that caches the results of configure 6452# tests run on this system so they can be shared between configure 6453# scripts and configure runs, see configure's option --config-cache. 6454# It is not useful on other systems. If it contains results you don't 6455# want to keep, you may remove or edit it. 6456# 6457# config.status only pays attention to the cache file if you give it 6458# the --recheck option to rerun configure. 6459# 6460# `ac_cv_env_foo' variables (set or unset) will be overridden when 6461# loading this file, other *unset* `ac_cv_foo' will be assigned the 6462# following values. 6463 6464_ACEOF 6465 6466# The following way of writing the cache mishandles newlines in values, 6467# but we know of no workaround that is simple, portable, and efficient. 6468# So, we kill variables containing newlines. 6469# Ultrix sh set writes to stderr and can't be redirected directly, 6470# and sets the high bit in the cache file unless we assign to the vars. 6471( 6472 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6473 eval ac_val=\$$ac_var 6474 case $ac_val in #( 6475 *${as_nl}*) 6476 case $ac_var in #( 6477 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6478$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6479 esac 6480 case $ac_var in #( 6481 _ | IFS | as_nl) ;; #( 6482 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6483 *) { eval $ac_var=; unset $ac_var;} ;; 6484 esac ;; 6485 esac 6486 done 6487 6488 (set) 2>&1 | 6489 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6490 *${as_nl}ac_space=\ *) 6491 # `set' does not quote correctly, so add quotes: double-quote 6492 # substitution turns \\\\ into \\, and sed turns \\ into \. 6493 sed -n \ 6494 "s/'/'\\\\''/g; 6495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6496 ;; #( 6497 *) 6498 # `set' quotes correctly as required by POSIX, so do not add quotes. 6499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6500 ;; 6501 esac | 6502 sort 6503) | 6504 sed ' 6505 /^ac_cv_env_/b end 6506 t clear 6507 :clear 6508 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6509 t end 6510 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6511 :end' >>confcache 6512if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6513 if test -w "$cache_file"; then 6514 if test "x$cache_file" != "x/dev/null"; then 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6516$as_echo "$as_me: updating cache $cache_file" >&6;} 6517 if test ! -f "$cache_file" || test -h "$cache_file"; then 6518 cat confcache >"$cache_file" 6519 else 6520 case $cache_file in #( 6521 */* | ?:*) 6522 mv -f confcache "$cache_file"$$ && 6523 mv -f "$cache_file"$$ "$cache_file" ;; #( 6524 *) 6525 mv -f confcache "$cache_file" ;; 6526 esac 6527 fi 6528 fi 6529 else 6530 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6531$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6532 fi 6533fi 6534rm -f confcache 6535 6536test "x$prefix" = xNONE && prefix=$ac_default_prefix 6537# Let make expand exec_prefix. 6538test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6539 6540DEFS=-DHAVE_CONFIG_H 6541 6542ac_libobjs= 6543ac_ltlibobjs= 6544U= 6545for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6546 # 1. Remove the extension, and $U if already installed. 6547 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6548 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6549 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6550 # will be set to the directory where LIBOBJS objects are built. 6551 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6552 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6553done 6554LIBOBJS=$ac_libobjs 6555 6556LTLIBOBJS=$ac_ltlibobjs 6557 6558 6559 if test -n "$EXEEXT"; then 6560 am__EXEEXT_TRUE= 6561 am__EXEEXT_FALSE='#' 6562else 6563 am__EXEEXT_TRUE='#' 6564 am__EXEEXT_FALSE= 6565fi 6566 6567if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6568 as_fn_error $? "conditional \"AMDEP\" was never defined. 6569Usually this means the macro was only invoked conditionally." "$LINENO" 5 6570fi 6571if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6572 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6573Usually this means the macro was only invoked conditionally." "$LINENO" 5 6574fi 6575if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 6576 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 6577Usually this means the macro was only invoked conditionally." "$LINENO" 5 6578fi 6579 6580 ac_config_commands="$ac_config_commands po/stamp-it" 6581 6582 6583 6584: "${CONFIG_STATUS=./config.status}" 6585ac_write_fail=0 6586ac_clean_files_save=$ac_clean_files 6587ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6588{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6589$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6590as_write_fail=0 6591cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6592#! $SHELL 6593# Generated by $as_me. 6594# Run this file to recreate the current configuration. 6595# Compiler output produced by configure, useful for debugging 6596# configure, is in config.log if it exists. 6597 6598debug=false 6599ac_cs_recheck=false 6600ac_cs_silent=false 6601 6602SHELL=\${CONFIG_SHELL-$SHELL} 6603export SHELL 6604_ASEOF 6605cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6606## -------------------- ## 6607## M4sh Initialization. ## 6608## -------------------- ## 6609 6610# Be more Bourne compatible 6611DUALCASE=1; export DUALCASE # for MKS sh 6612if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6613 emulate sh 6614 NULLCMD=: 6615 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6616 # is contrary to our usage. Disable this feature. 6617 alias -g '${1+"$@"}'='"$@"' 6618 setopt NO_GLOB_SUBST 6619else 6620 case `(set -o) 2>/dev/null` in #( 6621 *posix*) : 6622 set -o posix ;; #( 6623 *) : 6624 ;; 6625esac 6626fi 6627 6628 6629as_nl=' 6630' 6631export as_nl 6632# Printing a long string crashes Solaris 7 /usr/bin/printf. 6633as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6634as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6635as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6636# Prefer a ksh shell builtin over an external printf program on Solaris, 6637# but without wasting forks for bash or zsh. 6638if test -z "$BASH_VERSION$ZSH_VERSION" \ 6639 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6640 as_echo='print -r --' 6641 as_echo_n='print -rn --' 6642elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6643 as_echo='printf %s\n' 6644 as_echo_n='printf %s' 6645else 6646 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6647 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6648 as_echo_n='/usr/ucb/echo -n' 6649 else 6650 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6651 as_echo_n_body='eval 6652 arg=$1; 6653 case $arg in #( 6654 *"$as_nl"*) 6655 expr "X$arg" : "X\\(.*\\)$as_nl"; 6656 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6657 esac; 6658 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6659 ' 6660 export as_echo_n_body 6661 as_echo_n='sh -c $as_echo_n_body as_echo' 6662 fi 6663 export as_echo_body 6664 as_echo='sh -c $as_echo_body as_echo' 6665fi 6666 6667# The user is always right. 6668if test "${PATH_SEPARATOR+set}" != set; then 6669 PATH_SEPARATOR=: 6670 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6671 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6672 PATH_SEPARATOR=';' 6673 } 6674fi 6675 6676 6677# IFS 6678# We need space, tab and new line, in precisely that order. Quoting is 6679# there to prevent editors from complaining about space-tab. 6680# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6681# splitting by setting IFS to empty value.) 6682IFS=" "" $as_nl" 6683 6684# Find who we are. Look in the path if we contain no directory separator. 6685as_myself= 6686case $0 in #(( 6687 *[\\/]* ) as_myself=$0 ;; 6688 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6689for as_dir in $PATH 6690do 6691 IFS=$as_save_IFS 6692 test -z "$as_dir" && as_dir=. 6693 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6694 done 6695IFS=$as_save_IFS 6696 6697 ;; 6698esac 6699# We did not find ourselves, most probably we were run as `sh COMMAND' 6700# in which case we are not to be found in the path. 6701if test "x$as_myself" = x; then 6702 as_myself=$0 6703fi 6704if test ! -f "$as_myself"; then 6705 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6706 exit 1 6707fi 6708 6709# Unset variables that we do not need and which cause bugs (e.g. in 6710# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6711# suppresses any "Segmentation fault" message there. '((' could 6712# trigger a bug in pdksh 5.2.14. 6713for as_var in BASH_ENV ENV MAIL MAILPATH 6714do eval test x\${$as_var+set} = xset \ 6715 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6716done 6717PS1='$ ' 6718PS2='> ' 6719PS4='+ ' 6720 6721# NLS nuisances. 6722LC_ALL=C 6723export LC_ALL 6724LANGUAGE=C 6725export LANGUAGE 6726 6727# CDPATH. 6728(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6729 6730 6731# as_fn_error STATUS ERROR [LINENO LOG_FD] 6732# ---------------------------------------- 6733# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6734# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6735# script with STATUS, using 1 if that was 0. 6736as_fn_error () 6737{ 6738 as_status=$1; test $as_status -eq 0 && as_status=1 6739 if test "$4"; then 6740 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6741 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6742 fi 6743 $as_echo "$as_me: error: $2" >&2 6744 as_fn_exit $as_status 6745} # as_fn_error 6746 6747 6748# as_fn_set_status STATUS 6749# ----------------------- 6750# Set $? to STATUS, without forking. 6751as_fn_set_status () 6752{ 6753 return $1 6754} # as_fn_set_status 6755 6756# as_fn_exit STATUS 6757# ----------------- 6758# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6759as_fn_exit () 6760{ 6761 set +e 6762 as_fn_set_status $1 6763 exit $1 6764} # as_fn_exit 6765 6766# as_fn_unset VAR 6767# --------------- 6768# Portably unset VAR. 6769as_fn_unset () 6770{ 6771 { eval $1=; unset $1;} 6772} 6773as_unset=as_fn_unset 6774# as_fn_append VAR VALUE 6775# ---------------------- 6776# Append the text in VALUE to the end of the definition contained in VAR. Take 6777# advantage of any shell optimizations that allow amortized linear growth over 6778# repeated appends, instead of the typical quadratic growth present in naive 6779# implementations. 6780if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6781 eval 'as_fn_append () 6782 { 6783 eval $1+=\$2 6784 }' 6785else 6786 as_fn_append () 6787 { 6788 eval $1=\$$1\$2 6789 } 6790fi # as_fn_append 6791 6792# as_fn_arith ARG... 6793# ------------------ 6794# Perform arithmetic evaluation on the ARGs, and store the result in the 6795# global $as_val. Take advantage of shells that can avoid forks. The arguments 6796# must be portable across $(()) and expr. 6797if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6798 eval 'as_fn_arith () 6799 { 6800 as_val=$(( $* )) 6801 }' 6802else 6803 as_fn_arith () 6804 { 6805 as_val=`expr "$@" || test $? -eq 1` 6806 } 6807fi # as_fn_arith 6808 6809 6810if expr a : '\(a\)' >/dev/null 2>&1 && 6811 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6812 as_expr=expr 6813else 6814 as_expr=false 6815fi 6816 6817if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6818 as_basename=basename 6819else 6820 as_basename=false 6821fi 6822 6823if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6824 as_dirname=dirname 6825else 6826 as_dirname=false 6827fi 6828 6829as_me=`$as_basename -- "$0" || 6830$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6831 X"$0" : 'X\(//\)$' \| \ 6832 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6833$as_echo X/"$0" | 6834 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6835 s//\1/ 6836 q 6837 } 6838 /^X\/\(\/\/\)$/{ 6839 s//\1/ 6840 q 6841 } 6842 /^X\/\(\/\).*/{ 6843 s//\1/ 6844 q 6845 } 6846 s/.*/./; q'` 6847 6848# Avoid depending upon Character Ranges. 6849as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6850as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6851as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6852as_cr_digits='0123456789' 6853as_cr_alnum=$as_cr_Letters$as_cr_digits 6854 6855ECHO_C= ECHO_N= ECHO_T= 6856case `echo -n x` in #((((( 6857-n*) 6858 case `echo 'xy\c'` in 6859 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6860 xy) ECHO_C='\c';; 6861 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6862 ECHO_T=' ';; 6863 esac;; 6864*) 6865 ECHO_N='-n';; 6866esac 6867 6868rm -f conf$$ conf$$.exe conf$$.file 6869if test -d conf$$.dir; then 6870 rm -f conf$$.dir/conf$$.file 6871else 6872 rm -f conf$$.dir 6873 mkdir conf$$.dir 2>/dev/null 6874fi 6875if (echo >conf$$.file) 2>/dev/null; then 6876 if ln -s conf$$.file conf$$ 2>/dev/null; then 6877 as_ln_s='ln -s' 6878 # ... but there are two gotchas: 6879 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6880 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6881 # In both cases, we have to default to `cp -p'. 6882 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6883 as_ln_s='cp -p' 6884 elif ln conf$$.file conf$$ 2>/dev/null; then 6885 as_ln_s=ln 6886 else 6887 as_ln_s='cp -p' 6888 fi 6889else 6890 as_ln_s='cp -p' 6891fi 6892rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6893rmdir conf$$.dir 2>/dev/null 6894 6895 6896# as_fn_mkdir_p 6897# ------------- 6898# Create "$as_dir" as a directory, including parents if necessary. 6899as_fn_mkdir_p () 6900{ 6901 6902 case $as_dir in #( 6903 -*) as_dir=./$as_dir;; 6904 esac 6905 test -d "$as_dir" || eval $as_mkdir_p || { 6906 as_dirs= 6907 while :; do 6908 case $as_dir in #( 6909 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6910 *) as_qdir=$as_dir;; 6911 esac 6912 as_dirs="'$as_qdir' $as_dirs" 6913 as_dir=`$as_dirname -- "$as_dir" || 6914$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6915 X"$as_dir" : 'X\(//\)[^/]' \| \ 6916 X"$as_dir" : 'X\(//\)$' \| \ 6917 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6918$as_echo X"$as_dir" | 6919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6920 s//\1/ 6921 q 6922 } 6923 /^X\(\/\/\)[^/].*/{ 6924 s//\1/ 6925 q 6926 } 6927 /^X\(\/\/\)$/{ 6928 s//\1/ 6929 q 6930 } 6931 /^X\(\/\).*/{ 6932 s//\1/ 6933 q 6934 } 6935 s/.*/./; q'` 6936 test -d "$as_dir" && break 6937 done 6938 test -z "$as_dirs" || eval "mkdir $as_dirs" 6939 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6940 6941 6942} # as_fn_mkdir_p 6943if mkdir -p . 2>/dev/null; then 6944 as_mkdir_p='mkdir -p "$as_dir"' 6945else 6946 test -d ./-p && rmdir ./-p 6947 as_mkdir_p=false 6948fi 6949 6950if test -x / >/dev/null 2>&1; then 6951 as_test_x='test -x' 6952else 6953 if ls -dL / >/dev/null 2>&1; then 6954 as_ls_L_option=L 6955 else 6956 as_ls_L_option= 6957 fi 6958 as_test_x=' 6959 eval sh -c '\'' 6960 if test -d "$1"; then 6961 test -d "$1/."; 6962 else 6963 case $1 in #( 6964 -*)set "./$1";; 6965 esac; 6966 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6967 ???[sx]*):;;*)false;;esac;fi 6968 '\'' sh 6969 ' 6970fi 6971as_executable_p=$as_test_x 6972 6973# Sed expression to map a string onto a valid CPP name. 6974as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6975 6976# Sed expression to map a string onto a valid variable name. 6977as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6978 6979 6980exec 6>&1 6981## ----------------------------------- ## 6982## Main body of $CONFIG_STATUS script. ## 6983## ----------------------------------- ## 6984_ASEOF 6985test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6986 6987cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6988# Save the log message, to keep $0 and so on meaningful, and to 6989# report actual input values of CONFIG_FILES etc. instead of their 6990# values after options handling. 6991ac_log=" 6992This file was extended by regexxer $as_me 0.10, which was 6993generated by GNU Autoconf 2.68. Invocation command line was 6994 6995 CONFIG_FILES = $CONFIG_FILES 6996 CONFIG_HEADERS = $CONFIG_HEADERS 6997 CONFIG_LINKS = $CONFIG_LINKS 6998 CONFIG_COMMANDS = $CONFIG_COMMANDS 6999 $ $0 $@ 7000 7001on `(hostname || uname -n) 2>/dev/null | sed 1q` 7002" 7003 7004_ACEOF 7005 7006case $ac_config_files in *" 7007"*) set x $ac_config_files; shift; ac_config_files=$*;; 7008esac 7009 7010case $ac_config_headers in *" 7011"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7012esac 7013 7014 7015cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7016# Files that config.status was made for. 7017config_files="$ac_config_files" 7018config_headers="$ac_config_headers" 7019config_commands="$ac_config_commands" 7020 7021_ACEOF 7022 7023cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7024ac_cs_usage="\ 7025\`$as_me' instantiates files and other configuration actions 7026from templates according to the current configuration. Unless the files 7027and actions are specified as TAGs, all are instantiated by default. 7028 7029Usage: $0 [OPTION]... [TAG]... 7030 7031 -h, --help print this help, then exit 7032 -V, --version print version number and configuration settings, then exit 7033 --config print configuration, then exit 7034 -q, --quiet, --silent 7035 do not print progress messages 7036 -d, --debug don't remove temporary files 7037 --recheck update $as_me by reconfiguring in the same conditions 7038 --file=FILE[:TEMPLATE] 7039 instantiate the configuration file FILE 7040 --header=FILE[:TEMPLATE] 7041 instantiate the configuration header FILE 7042 7043Configuration files: 7044$config_files 7045 7046Configuration headers: 7047$config_headers 7048 7049Configuration commands: 7050$config_commands 7051 7052Report bugs to <http://regexxer.sourceforge.net/bugs>. 7053regexxer home page: <http://regexxer.sourceforge.net/>." 7054 7055_ACEOF 7056cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7057ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7058ac_cs_version="\\ 7059regexxer config.status 0.10 7060configured by $0, generated by GNU Autoconf 2.68, 7061 with options \\"\$ac_cs_config\\" 7062 7063Copyright (C) 2010 Free Software Foundation, Inc. 7064This config.status script is free software; the Free Software Foundation 7065gives unlimited permission to copy, distribute and modify it." 7066 7067ac_pwd='$ac_pwd' 7068srcdir='$srcdir' 7069INSTALL='$INSTALL' 7070MKDIR_P='$MKDIR_P' 7071AWK='$AWK' 7072test -n "\$AWK" || AWK=awk 7073_ACEOF 7074 7075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7076# The default lists apply if the user does not specify any file. 7077ac_need_defaults=: 7078while test $# != 0 7079do 7080 case $1 in 7081 --*=?*) 7082 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7083 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7084 ac_shift=: 7085 ;; 7086 --*=) 7087 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7088 ac_optarg= 7089 ac_shift=: 7090 ;; 7091 *) 7092 ac_option=$1 7093 ac_optarg=$2 7094 ac_shift=shift 7095 ;; 7096 esac 7097 7098 case $ac_option in 7099 # Handling of the options. 7100 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7101 ac_cs_recheck=: ;; 7102 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7103 $as_echo "$ac_cs_version"; exit ;; 7104 --config | --confi | --conf | --con | --co | --c ) 7105 $as_echo "$ac_cs_config"; exit ;; 7106 --debug | --debu | --deb | --de | --d | -d ) 7107 debug=: ;; 7108 --file | --fil | --fi | --f ) 7109 $ac_shift 7110 case $ac_optarg in 7111 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7112 '') as_fn_error $? "missing file argument" ;; 7113 esac 7114 as_fn_append CONFIG_FILES " '$ac_optarg'" 7115 ac_need_defaults=false;; 7116 --header | --heade | --head | --hea ) 7117 $ac_shift 7118 case $ac_optarg in 7119 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7120 esac 7121 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7122 ac_need_defaults=false;; 7123 --he | --h) 7124 # Conflict between --help and --header 7125 as_fn_error $? "ambiguous option: \`$1' 7126Try \`$0 --help' for more information.";; 7127 --help | --hel | -h ) 7128 $as_echo "$ac_cs_usage"; exit ;; 7129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7130 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7131 ac_cs_silent=: ;; 7132 7133 # This is an error. 7134 -*) as_fn_error $? "unrecognized option: \`$1' 7135Try \`$0 --help' for more information." ;; 7136 7137 *) as_fn_append ac_config_targets " $1" 7138 ac_need_defaults=false ;; 7139 7140 esac 7141 shift 7142done 7143 7144ac_configure_extra_args= 7145 7146if $ac_cs_silent; then 7147 exec 6>/dev/null 7148 ac_configure_extra_args="$ac_configure_extra_args --silent" 7149fi 7150 7151_ACEOF 7152cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7153if \$ac_cs_recheck; then 7154 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7155 shift 7156 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7157 CONFIG_SHELL='$SHELL' 7158 export CONFIG_SHELL 7159 exec "\$@" 7160fi 7161 7162_ACEOF 7163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7164exec 5>>config.log 7165{ 7166 echo 7167 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7168## Running $as_me. ## 7169_ASBOX 7170 $as_echo "$ac_log" 7171} >&5 7172 7173_ACEOF 7174cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7175# 7176# INIT-COMMANDS 7177# 7178AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7179 7180 7181_ACEOF 7182 7183cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7184 7185# Handling of arguments. 7186for ac_config_target in $ac_config_targets 7187do 7188 case $ac_config_target in 7189 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7190 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7191 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 7192 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7193 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7194 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 7195 7196 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7197 esac 7198done 7199 7200 7201# If the user did not use the arguments to specify the items to instantiate, 7202# then the envvar interface is used. Set only those that are not. 7203# We use the long form for the default assignment because of an extremely 7204# bizarre bug on SunOS 4.1.3. 7205if $ac_need_defaults; then 7206 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7207 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7209fi 7210 7211# Have a temporary directory for convenience. Make it in the build tree 7212# simply because there is no reason against having it here, and in addition, 7213# creating and moving files from /tmp can sometimes cause problems. 7214# Hook for its removal unless debugging. 7215# Note that there is a small window in which the directory will not be cleaned: 7216# after its creation but before its name has been assigned to `$tmp'. 7217$debug || 7218{ 7219 tmp= ac_tmp= 7220 trap 'exit_status=$? 7221 : "${ac_tmp:=$tmp}" 7222 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7223' 0 7224 trap 'as_fn_exit 1' 1 2 13 15 7225} 7226# Create a (secure) tmp directory for tmp files. 7227 7228{ 7229 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7230 test -d "$tmp" 7231} || 7232{ 7233 tmp=./conf$$-$RANDOM 7234 (umask 077 && mkdir "$tmp") 7235} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7236ac_tmp=$tmp 7237 7238# Set up the scripts for CONFIG_FILES section. 7239# No need to generate them if there are no CONFIG_FILES. 7240# This happens for instance with `./config.status config.h'. 7241if test -n "$CONFIG_FILES"; then 7242 7243 7244ac_cr=`echo X | tr X '\015'` 7245# On cygwin, bash can eat \r inside `` if the user requested igncr. 7246# But we know of no other shell where ac_cr would be empty at this 7247# point, so we can use a bashism as a fallback. 7248if test "x$ac_cr" = x; then 7249 eval ac_cr=\$\'\\r\' 7250fi 7251ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7252if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7253 ac_cs_awk_cr='\\r' 7254else 7255 ac_cs_awk_cr=$ac_cr 7256fi 7257 7258echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7259_ACEOF 7260 7261 7262{ 7263 echo "cat >conf$$subs.awk <<_ACEOF" && 7264 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7265 echo "_ACEOF" 7266} >conf$$subs.sh || 7267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7268ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7269ac_delim='%!_!# ' 7270for ac_last_try in false false false false false :; do 7271 . ./conf$$subs.sh || 7272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7273 7274 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7275 if test $ac_delim_n = $ac_delim_num; then 7276 break 7277 elif $ac_last_try; then 7278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7279 else 7280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7281 fi 7282done 7283rm -f conf$$subs.sh 7284 7285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7286cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7287_ACEOF 7288sed -n ' 7289h 7290s/^/S["/; s/!.*/"]=/ 7291p 7292g 7293s/^[^!]*!// 7294:repl 7295t repl 7296s/'"$ac_delim"'$// 7297t delim 7298:nl 7299h 7300s/\(.\{148\}\)..*/\1/ 7301t more1 7302s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7303p 7304n 7305b repl 7306:more1 7307s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7308p 7309g 7310s/.\{148\}// 7311t nl 7312:delim 7313h 7314s/\(.\{148\}\)..*/\1/ 7315t more2 7316s/["\\]/\\&/g; s/^/"/; s/$/"/ 7317p 7318b 7319:more2 7320s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7321p 7322g 7323s/.\{148\}// 7324t delim 7325' <conf$$subs.awk | sed ' 7326/^[^""]/{ 7327 N 7328 s/\n// 7329} 7330' >>$CONFIG_STATUS || ac_write_fail=1 7331rm -f conf$$subs.awk 7332cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7333_ACAWK 7334cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7335 for (key in S) S_is_set[key] = 1 7336 FS = "" 7337 7338} 7339{ 7340 line = $ 0 7341 nfields = split(line, field, "@") 7342 substed = 0 7343 len = length(field[1]) 7344 for (i = 2; i < nfields; i++) { 7345 key = field[i] 7346 keylen = length(key) 7347 if (S_is_set[key]) { 7348 value = S[key] 7349 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7350 len += length(value) + length(field[++i]) 7351 substed = 1 7352 } else 7353 len += 1 + keylen 7354 } 7355 7356 print line 7357} 7358 7359_ACAWK 7360_ACEOF 7361cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7362if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7363 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7364else 7365 cat 7366fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7367 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7368_ACEOF 7369 7370# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7371# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7372# trailing colons and then remove the whole line if VPATH becomes empty 7373# (actually we leave an empty line to preserve line numbers). 7374if test "x$srcdir" = x.; then 7375 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7376h 7377s/// 7378s/^/:/ 7379s/[ ]*$/:/ 7380s/:\$(srcdir):/:/g 7381s/:\${srcdir}:/:/g 7382s/:@srcdir@:/:/g 7383s/^:*// 7384s/:*$// 7385x 7386s/\(=[ ]*\).*/\1/ 7387G 7388s/\n// 7389s/^[^=]*=[ ]*$// 7390}' 7391fi 7392 7393cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7394fi # test -n "$CONFIG_FILES" 7395 7396# Set up the scripts for CONFIG_HEADERS section. 7397# No need to generate them if there are no CONFIG_HEADERS. 7398# This happens for instance with `./config.status Makefile'. 7399if test -n "$CONFIG_HEADERS"; then 7400cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7401BEGIN { 7402_ACEOF 7403 7404# Transform confdefs.h into an awk script `defines.awk', embedded as 7405# here-document in config.status, that substitutes the proper values into 7406# config.h.in to produce config.h. 7407 7408# Create a delimiter string that does not exist in confdefs.h, to ease 7409# handling of long lines. 7410ac_delim='%!_!# ' 7411for ac_last_try in false false :; do 7412 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7413 if test -z "$ac_tt"; then 7414 break 7415 elif $ac_last_try; then 7416 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7417 else 7418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7419 fi 7420done 7421 7422# For the awk script, D is an array of macro values keyed by name, 7423# likewise P contains macro parameters if any. Preserve backslash 7424# newline sequences. 7425 7426ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7427sed -n ' 7428s/.\{148\}/&'"$ac_delim"'/g 7429t rset 7430:rset 7431s/^[ ]*#[ ]*define[ ][ ]*/ / 7432t def 7433d 7434:def 7435s/\\$// 7436t bsnl 7437s/["\\]/\\&/g 7438s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7439D["\1"]=" \3"/p 7440s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7441d 7442:bsnl 7443s/["\\]/\\&/g 7444s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7445D["\1"]=" \3\\\\\\n"\\/p 7446t cont 7447s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7448t cont 7449d 7450:cont 7451n 7452s/.\{148\}/&'"$ac_delim"'/g 7453t clear 7454:clear 7455s/\\$// 7456t bsnlc 7457s/["\\]/\\&/g; s/^/"/; s/$/"/p 7458d 7459:bsnlc 7460s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7461b cont 7462' <confdefs.h | sed ' 7463s/'"$ac_delim"'/"\\\ 7464"/g' >>$CONFIG_STATUS || ac_write_fail=1 7465 7466cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7467 for (key in D) D_is_set[key] = 1 7468 FS = "" 7469} 7470/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7471 line = \$ 0 7472 split(line, arg, " ") 7473 if (arg[1] == "#") { 7474 defundef = arg[2] 7475 mac1 = arg[3] 7476 } else { 7477 defundef = substr(arg[1], 2) 7478 mac1 = arg[2] 7479 } 7480 split(mac1, mac2, "(") #) 7481 macro = mac2[1] 7482 prefix = substr(line, 1, index(line, defundef) - 1) 7483 if (D_is_set[macro]) { 7484 # Preserve the white space surrounding the "#". 7485 print prefix "define", macro P[macro] D[macro] 7486 next 7487 } else { 7488 # Replace #undef with comments. This is necessary, for example, 7489 # in the case of _POSIX_SOURCE, which is predefined and required 7490 # on some systems where configure will not decide to define it. 7491 if (defundef == "undef") { 7492 print "/*", prefix defundef, macro, "*/" 7493 next 7494 } 7495 } 7496} 7497{ print } 7498_ACAWK 7499_ACEOF 7500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7501 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7502fi # test -n "$CONFIG_HEADERS" 7503 7504 7505eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7506shift 7507for ac_tag 7508do 7509 case $ac_tag in 7510 :[FHLC]) ac_mode=$ac_tag; continue;; 7511 esac 7512 case $ac_mode$ac_tag in 7513 :[FHL]*:*);; 7514 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7515 :[FH]-) ac_tag=-:-;; 7516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7517 esac 7518 ac_save_IFS=$IFS 7519 IFS=: 7520 set x $ac_tag 7521 IFS=$ac_save_IFS 7522 shift 7523 ac_file=$1 7524 shift 7525 7526 case $ac_mode in 7527 :L) ac_source=$1;; 7528 :[FH]) 7529 ac_file_inputs= 7530 for ac_f 7531 do 7532 case $ac_f in 7533 -) ac_f="$ac_tmp/stdin";; 7534 *) # Look for the file first in the build tree, then in the source tree 7535 # (if the path is not absolute). The absolute path cannot be DOS-style, 7536 # because $ac_f cannot contain `:'. 7537 test -f "$ac_f" || 7538 case $ac_f in 7539 [\\/$]*) false;; 7540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7541 esac || 7542 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7543 esac 7544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7545 as_fn_append ac_file_inputs " '$ac_f'" 7546 done 7547 7548 # Let's still pretend it is `configure' which instantiates (i.e., don't 7549 # use $as_me), people would be surprised to read: 7550 # /* config.h. Generated by config.status. */ 7551 configure_input='Generated from '` 7552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7553 `' by configure.' 7554 if test x"$ac_file" != x-; then 7555 configure_input="$ac_file. $configure_input" 7556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7557$as_echo "$as_me: creating $ac_file" >&6;} 7558 fi 7559 # Neutralize special characters interpreted by sed in replacement strings. 7560 case $configure_input in #( 7561 *\&* | *\|* | *\\* ) 7562 ac_sed_conf_input=`$as_echo "$configure_input" | 7563 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7564 *) ac_sed_conf_input=$configure_input;; 7565 esac 7566 7567 case $ac_tag in 7568 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7570 esac 7571 ;; 7572 esac 7573 7574 ac_dir=`$as_dirname -- "$ac_file" || 7575$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7576 X"$ac_file" : 'X\(//\)[^/]' \| \ 7577 X"$ac_file" : 'X\(//\)$' \| \ 7578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7579$as_echo X"$ac_file" | 7580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7581 s//\1/ 7582 q 7583 } 7584 /^X\(\/\/\)[^/].*/{ 7585 s//\1/ 7586 q 7587 } 7588 /^X\(\/\/\)$/{ 7589 s//\1/ 7590 q 7591 } 7592 /^X\(\/\).*/{ 7593 s//\1/ 7594 q 7595 } 7596 s/.*/./; q'` 7597 as_dir="$ac_dir"; as_fn_mkdir_p 7598 ac_builddir=. 7599 7600case "$ac_dir" in 7601.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7602*) 7603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7604 # A ".." for each directory in $ac_dir_suffix. 7605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7606 case $ac_top_builddir_sub in 7607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7609 esac ;; 7610esac 7611ac_abs_top_builddir=$ac_pwd 7612ac_abs_builddir=$ac_pwd$ac_dir_suffix 7613# for backward compatibility: 7614ac_top_builddir=$ac_top_build_prefix 7615 7616case $srcdir in 7617 .) # We are building in place. 7618 ac_srcdir=. 7619 ac_top_srcdir=$ac_top_builddir_sub 7620 ac_abs_top_srcdir=$ac_pwd ;; 7621 [\\/]* | ?:[\\/]* ) # Absolute name. 7622 ac_srcdir=$srcdir$ac_dir_suffix; 7623 ac_top_srcdir=$srcdir 7624 ac_abs_top_srcdir=$srcdir ;; 7625 *) # Relative name. 7626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7627 ac_top_srcdir=$ac_top_build_prefix$srcdir 7628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7629esac 7630ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7631 7632 7633 case $ac_mode in 7634 :F) 7635 # 7636 # CONFIG_FILE 7637 # 7638 7639 case $INSTALL in 7640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7642 esac 7643 ac_MKDIR_P=$MKDIR_P 7644 case $MKDIR_P in 7645 [\\/$]* | ?:[\\/]* ) ;; 7646 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7647 esac 7648_ACEOF 7649 7650cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7651# If the template does not know about datarootdir, expand it. 7652# FIXME: This hack should be removed a few years after 2.60. 7653ac_datarootdir_hack=; ac_datarootdir_seen= 7654ac_sed_dataroot=' 7655/datarootdir/ { 7656 p 7657 q 7658} 7659/@datadir@/p 7660/@docdir@/p 7661/@infodir@/p 7662/@localedir@/p 7663/@mandir@/p' 7664case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7665*datarootdir*) ac_datarootdir_seen=yes;; 7666*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7668$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7669_ACEOF 7670cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7671 ac_datarootdir_hack=' 7672 s&@datadir@&$datadir&g 7673 s&@docdir@&$docdir&g 7674 s&@infodir@&$infodir&g 7675 s&@localedir@&$localedir&g 7676 s&@mandir@&$mandir&g 7677 s&\\\${datarootdir}&$datarootdir&g' ;; 7678esac 7679_ACEOF 7680 7681# Neutralize VPATH when `$srcdir' = `.'. 7682# Shell code in configure.ac might set extrasub. 7683# FIXME: do we really want to maintain this feature? 7684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7685ac_sed_extra="$ac_vpsub 7686$extrasub 7687_ACEOF 7688cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7689:t 7690/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7691s|@configure_input@|$ac_sed_conf_input|;t t 7692s&@top_builddir@&$ac_top_builddir_sub&;t t 7693s&@top_build_prefix@&$ac_top_build_prefix&;t t 7694s&@srcdir@&$ac_srcdir&;t t 7695s&@abs_srcdir@&$ac_abs_srcdir&;t t 7696s&@top_srcdir@&$ac_top_srcdir&;t t 7697s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7698s&@builddir@&$ac_builddir&;t t 7699s&@abs_builddir@&$ac_abs_builddir&;t t 7700s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7701s&@INSTALL@&$ac_INSTALL&;t t 7702s&@MKDIR_P@&$ac_MKDIR_P&;t t 7703$ac_datarootdir_hack 7704" 7705eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7706 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7707 7708test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7709 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7710 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7711 "$ac_tmp/out"`; test -z "$ac_out"; } && 7712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7713which seems to be undefined. Please make sure it is defined" >&5 7714$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7715which seems to be undefined. Please make sure it is defined" >&2;} 7716 7717 rm -f "$ac_tmp/stdin" 7718 case $ac_file in 7719 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7720 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7721 esac \ 7722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7723 ;; 7724 :H) 7725 # 7726 # CONFIG_HEADER 7727 # 7728 if test x"$ac_file" != x-; then 7729 { 7730 $as_echo "/* $configure_input */" \ 7731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7732 } >"$ac_tmp/config.h" \ 7733 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7734 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7735 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7736$as_echo "$as_me: $ac_file is unchanged" >&6;} 7737 else 7738 rm -f "$ac_file" 7739 mv "$ac_tmp/config.h" "$ac_file" \ 7740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7741 fi 7742 else 7743 $as_echo "/* $configure_input */" \ 7744 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7745 || as_fn_error $? "could not create -" "$LINENO" 5 7746 fi 7747# Compute "$ac_file"'s index in $config_headers. 7748_am_arg="$ac_file" 7749_am_stamp_count=1 7750for _am_header in $config_headers :; do 7751 case $_am_header in 7752 $_am_arg | $_am_arg:* ) 7753 break ;; 7754 * ) 7755 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7756 esac 7757done 7758echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7759$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7760 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7761 X"$_am_arg" : 'X\(//\)$' \| \ 7762 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7763$as_echo X"$_am_arg" | 7764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7765 s//\1/ 7766 q 7767 } 7768 /^X\(\/\/\)[^/].*/{ 7769 s//\1/ 7770 q 7771 } 7772 /^X\(\/\/\)$/{ 7773 s//\1/ 7774 q 7775 } 7776 /^X\(\/\).*/{ 7777 s//\1/ 7778 q 7779 } 7780 s/.*/./; q'`/stamp-h$_am_stamp_count 7781 ;; 7782 7783 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7784$as_echo "$as_me: executing $ac_file commands" >&6;} 7785 ;; 7786 esac 7787 7788 7789 case $ac_file$ac_mode in 7790 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7791 # Autoconf 2.62 quotes --file arguments for eval, but not when files 7792 # are listed without --file. Let's play safe and only enable the eval 7793 # if we detect the quoting. 7794 case $CONFIG_FILES in 7795 *\'*) eval set x "$CONFIG_FILES" ;; 7796 *) set x $CONFIG_FILES ;; 7797 esac 7798 shift 7799 for mf 7800 do 7801 # Strip MF so we end up with the name of the file. 7802 mf=`echo "$mf" | sed -e 's/:.*$//'` 7803 # Check whether this is an Automake generated Makefile or not. 7804 # We used to match only the files named `Makefile.in', but 7805 # some people rename them; so instead we look at the file content. 7806 # Grep'ing the first line is not enough: some people post-process 7807 # each Makefile.in and add a new line on top of each file to say so. 7808 # Grep'ing the whole file is not good either: AIX grep has a line 7809 # limit of 2048, but all sed's we know have understand at least 4000. 7810 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7811 dirpart=`$as_dirname -- "$mf" || 7812$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7813 X"$mf" : 'X\(//\)[^/]' \| \ 7814 X"$mf" : 'X\(//\)$' \| \ 7815 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7816$as_echo X"$mf" | 7817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7818 s//\1/ 7819 q 7820 } 7821 /^X\(\/\/\)[^/].*/{ 7822 s//\1/ 7823 q 7824 } 7825 /^X\(\/\/\)$/{ 7826 s//\1/ 7827 q 7828 } 7829 /^X\(\/\).*/{ 7830 s//\1/ 7831 q 7832 } 7833 s/.*/./; q'` 7834 else 7835 continue 7836 fi 7837 # Extract the definition of DEPDIR, am__include, and am__quote 7838 # from the Makefile without running `make'. 7839 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7840 test -z "$DEPDIR" && continue 7841 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7842 test -z "am__include" && continue 7843 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7844 # When using ansi2knr, U may be empty or an underscore; expand it 7845 U=`sed -n 's/^U = //p' < "$mf"` 7846 # Find all dependency output files, they are included files with 7847 # $(DEPDIR) in their names. We invoke sed twice because it is the 7848 # simplest approach to changing $(DEPDIR) to its actual value in the 7849 # expansion. 7850 for file in `sed -n " 7851 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7852 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7853 # Make sure the directory exists. 7854 test -f "$dirpart/$file" && continue 7855 fdir=`$as_dirname -- "$file" || 7856$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7857 X"$file" : 'X\(//\)[^/]' \| \ 7858 X"$file" : 'X\(//\)$' \| \ 7859 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7860$as_echo X"$file" | 7861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7862 s//\1/ 7863 q 7864 } 7865 /^X\(\/\/\)[^/].*/{ 7866 s//\1/ 7867 q 7868 } 7869 /^X\(\/\/\)$/{ 7870 s//\1/ 7871 q 7872 } 7873 /^X\(\/\).*/{ 7874 s//\1/ 7875 q 7876 } 7877 s/.*/./; q'` 7878 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7879 # echo "creating $dirpart/$file" 7880 echo '# dummy' > "$dirpart/$file" 7881 done 7882 done 7883} 7884 ;; 7885 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 7886 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 7887 esac ;; 7888 "po/stamp-it":C) 7889 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 7890 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 7891 fi 7892 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 7893 >"po/stamp-it.tmp" 7894 sed '/^#/d 7895 s/^[[].*] *// 7896 /^[ ]*$/d 7897 '"s|^| $ac_top_srcdir/|" \ 7898 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 7899 7900 sed '/^POTFILES =/,/[^\\]$/ { 7901 /^POTFILES =/!d 7902 r po/POTFILES 7903 } 7904 ' "po/Makefile.in" >"po/Makefile" 7905 rm -f "po/Makefile.tmp" 7906 mv "po/stamp-it.tmp" "po/stamp-it" 7907 ;; 7908 7909 esac 7910done # for ac_tag 7911 7912 7913as_fn_exit 0 7914_ACEOF 7915ac_clean_files=$ac_clean_files_save 7916 7917test $ac_write_fail = 0 || 7918 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7919 7920 7921# configure is writing to config.log, and then calls config.status. 7922# config.status does its own redirection, appending to config.log. 7923# Unfortunately, on DOS this fails, as config.log is still kept open 7924# by configure, so config.status won't be able to write to it; its 7925# output is simply discarded. So we exec the FD to /dev/null, 7926# effectively closing config.log, so it can be properly (re)opened and 7927# appended to by config.status. When coming back to configure, we 7928# need to make the FD available again. 7929if test "$no_create" != yes; then 7930 ac_cs_success=: 7931 ac_config_status_args= 7932 test "$silent" = yes && 7933 ac_config_status_args="$ac_config_status_args --quiet" 7934 exec 5>/dev/null 7935 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7936 exec 5>>config.log 7937 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7938 # would make configure fail if this is the last instruction. 7939 $ac_cs_success || as_fn_exit 1 7940fi 7941if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7943$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7944fi 7945 7946